platform_build_soong/finder
Colin Cross a88c883e3e Add a DirEntryInfo interface that is a subset of os.FileInfo
ioutil.ReadDir returns []os.FileInfo, which contains information on
each entry in the directory that is only available by calling
os.Lstat on the entry.  Finder only the name and type (regular,
directory or symlink) of the files, which on Linux kernels >= 2.6.4
is available in the return values of syscall.Getdents.

In preparation for using syscall.Getdents, switch filesystem.ReadDir
to return an interface that only contains the information that will
be available from syscall.Getdents.

Bug: 70897635
Test: m checkbuild
Change-Id: Id2749d709a0f7b5a61abedde68549d4bf208a568
2017-12-22 13:56:17 -08:00
..
cmd Move android/soong/fs to android/soong/finder/fs 2017-12-22 13:56:17 -08:00
fs Add a DirEntryInfo interface that is a subset of os.FileInfo 2017-12-22 13:56:17 -08:00
Android.bp Move android/soong/fs to android/soong/finder/fs 2017-12-22 13:56:17 -08:00
finder.go Add a DirEntryInfo interface that is a subset of os.FileInfo 2017-12-22 13:56:17 -08:00
finder_test.go Move android/soong/fs to android/soong/finder/fs 2017-12-22 13:56:17 -08:00