diff options
author | Jakob Unterwurzacher | 2017-08-13 21:13:44 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2017-08-15 19:03:57 +0200 |
commit | e50a6a57e57bc3cc925ba9a6e7f4dc1da4da3c84 (patch) | |
tree | 79df16efd4d2474502a0e5116a4ee9599a33daee /internal/readpassword | |
parent | affb1c2f6617d66bdc9fda41b017e0de000c3691 (diff) |
syscallcompat: implement Getdents()
The Readdir function provided by os is inherently slow because
it calls Lstat on all files.
Getdents gives us all the information we need, but does not have
a proper wrapper in the stdlib.
Implement the "Getdents()" wrapper function that calls
syscall.Getdents() and parses the returned byte blob to a
fuse.DirEntry slice.
Diffstat (limited to 'internal/readpassword')
0 files changed, 0 insertions, 0 deletions