platform_build_blueprint/pathtools
Dan Willemsen 53f4950eea Prevent glob from accessing hidden files
Hidden files are often source control related (".git", ".repo", etc) or
editor related (vim's .*.swp), so are not guaranteed to exist, and may
be temporary. The build system shouldn't be using these files by
default.

If the glob pattern explicitly uses "." at the beginning of a path
component, allow returning hidden files for that component. Because of
this behavior, non-wildcard globs remain unchanged.

The one behavior that cannot be handled anymore is including hidden
files in recursive globs.

Change-Id: I583c506e9a18ed2ff7ca011a791165d9582de90f
2016-12-19 15:17:26 -08:00
..
testdata Prevent glob from accessing hidden files 2016-12-19 15:17:26 -08:00
glob.go Prevent glob from accessing hidden files 2016-12-19 15:17:26 -08:00
glob_test.go Prevent glob from accessing hidden files 2016-12-19 15:17:26 -08:00
lists.go Replace ReplaceExtension regexp with manual string operations 2015-04-15 11:03:06 -07:00