Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-10-22 | tests: don't read /proc, the number of entries changes too quickly | Jakob Unterwurzacher | |
This could lead to test failures like this: --- FAIL: TestGetdents (0.02s) getdents_test.go:57: len(getdentsEntries)=362, len(readdirEntries)=360 FAIL | |||
2017-08-15 | syscallcompat: implement Getdents() | Jakob Unterwurzacher | |
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. |