diff options
| author | 2020-06-29 23:11:55 -0700 | |
|---|---|---|
| committer | 2020-06-29 23:30:38 -0700 | |
| commit | 25fd77310cc6383ddb9d5c778eb8349a36bfdf4f (patch) | |
| tree | 179a8cfaea73bbdc454c232433f335909a1bd359 /rust/coverage_test.go | |
| parent | 7cdad45cf217097e262ca370aa2cc36a6545a49e (diff) | |
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
Diffstat (limited to 'rust/coverage_test.go')
0 files changed, 0 insertions, 0 deletions