platform_build_blueprint/pathtools
Colin Cross 9e1ff7423b Fix recursive globs through symlinks
filepath.Walk does not walk symlinks to directories, which leads to
inconsitent behavior with following symlinks.  Replace the use of
filepath.Walk in ListDirsRecursive with a helper function that lists
each directory and walks anything for which IsDir reports true, which
includes following symlinks, and then reconstructs the path through
the symlink.

Test: fs_test.go
Test: glob_test.go
Change-Id: Ie4dd0820e9c7c0a124caa65210ce20439a44da16
2018-09-24 15:09:32 -07:00
..
testdata Fix recursive globs through symlinks 2018-09-24 15:09:32 -07:00
fs.go Fix recursive globs through symlinks 2018-09-24 15:09:32 -07:00
fs_test.go Fix recursive globs through symlinks 2018-09-24 15:09:32 -07:00
glob.go Improve error message for globbed dangling symlink 2018-09-21 15:55:03 -07:00
glob_test.go Fix recursive globs through symlinks 2018-09-24 15:09:32 -07:00
lists.go Replace ReplaceExtension regexp with manual string operations 2015-04-15 11:03:06 -07:00