lib/glob: Clean up the glob library

Refactored the glob library to expose a new Element object that can
be used to match one path segment at a time.

Deprecated MatchInitialSegment() in favor of Head() and Tail().
Deprecated PartialMatch().
Deprecated Finished() in favor of Empty().
Deprecated Split() in favor of Tail().
Deprecated SplitFixedPrefix() in favor of SplitFixedElements().

Partly addresses: v.io/i/532

Change-Id: Ia94c958fb8415fc36a123887626c5d377806170f
9 files changed
tree: e3fcacbf161dd821c0675a7edfb4e3a611ae7af8
  1. cmd/
  2. examples/
  3. internal/
  4. lib/
  5. runtime/
  6. services/
  7. test/
  8. .gitignore
  9. AUTHORS
  10. CONTRIBUTORS
  11. envvar.go
  12. envvar_test.go
  13. LICENSE
  14. PATENTS
  15. README.md
  16. VERSION
README.md

Vanadium

This repository contains a reference implementation of the Vanadium APIs.

Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.