platform_build_soong/finder
Colin Cross 25fd77310c Fix finder on symlinks pointing to directories
When finder encountered a symlink pointing to a directory it attempted
to ignore it, but becuase Lstat returns the a *os.FileInfo for the
symlink the child.IsDir() check always returned false.  Call Stat
on the symlink to get the *os.FileInfo for the target of the symlink.

Bug: 157656545
Test: finder_test.go
Change-Id: Ie33d2e05d5c435b48e83eaeadf7b3c9816398404
2020-06-29 23:30:38 -07:00
..
cmd Move android/soong/fs to android/soong/finder/fs 2017-12-22 13:56:17 -08:00
fs Add Stat to finder/fs 2020-06-29 23:30:38 -07:00
Android.bp Move android/soong/fs to android/soong/finder/fs 2017-12-22 13:56:17 -08:00
finder.go Fix finder on symlinks pointing to directories 2020-06-29 23:30:38 -07:00
finder_test.go Fix finder on symlinks pointing to directories 2020-06-29 23:30:38 -07:00