1b10f52d59
The caller must call Readdir() at least twice to detect EOF. The old code was always restarting the directory search and then skipping elements already seen, effectively doubling the cost to read a directory. The code now remembers the last offset and doesn't reposition the cursor if next request comes at the same offset. PiperOrigin-RevId: 244957816 Change-Id: If21a8dc68b76614adbcf4301439adfda40f2643f |
||
---|---|---|
.. | ||
filter | ||
BUILD | ||
fsgofer.go | ||
fsgofer_test.go | ||
fsgofer_unsafe.go |