platform_build_blueprint/pathtools/testdata/dangling
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
..
a/a Fix recursive globs through symlinks 2018-09-24 15:09:32 -07:00
b Fix recursive globs through symlinks 2018-09-24 15:09:32 -07:00
c Fix recursive globs through symlinks 2018-09-24 15:09:32 -07:00
d Fix recursive globs through symlinks 2018-09-24 15:09:32 -07:00
dangling Fix recursive globs through symlinks 2018-09-24 15:09:32 -07:00
e Fix recursive globs through symlinks 2018-09-24 15:09:32 -07:00
f Add symlink support to mockFs 2018-09-24 15:09:32 -07:00