platform_build_blueprint/pathtools/testdata
Colin Cross 4b793e5798 Rewrite pathtools.Glob to track partially-matched directories
The directory structure:
  a/
    a
  b/
    b
With the glob pattern */a would previously return []string{"a"} for
dirs, but it needs to return []string{"a", "b"} in order to re-run
the generator if a file called "a" is created inside b/.

Rewrite Glob to manually recurse through path elements, only calling
filepath.Glob for a pattern with wilds in the last element of the
path, and add the globbed directory to the dirs list each time.

Also add tests and test data for pathtools.Glob.

Change-Id: Ibbdb2f99809ea0826d4fa82066cf84103005ef57
2015-04-24 11:11:15 -07:00
..
a Rewrite pathtools.Glob to track partially-matched directories 2015-04-24 11:11:15 -07:00
b Rewrite pathtools.Glob to track partially-matched directories 2015-04-24 11:11:15 -07:00
c Rewrite pathtools.Glob to track partially-matched directories 2015-04-24 11:11:15 -07:00
d.ext Rewrite pathtools.Glob to track partially-matched directories 2015-04-24 11:11:15 -07:00
e.ext Rewrite pathtools.Glob to track partially-matched directories 2015-04-24 11:11:15 -07:00