summaryrefslogtreecommitdiff
path: root/java/system_modules.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2017-12-21 15:39:26 -0800
committer Colin Cross <ccross@android.com> 2017-12-22 13:56:17 -0800
commita88c883e3efc19ba677c8bcca65fce73d057ada7 (patch)
tree4bbadbd1b60d75ef616605572b737e4505db93f9 /java/system_modules.go
parent8d6395c09d868751c85082d71356ad790e924df9 (diff)
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
Diffstat (limited to 'java/system_modules.go')
0 files changed, 0 insertions, 0 deletions