d76759a6a9
A snapshotDir tracks its current position as part of its state, so we need to use it via pointer rather than value so that Readdirnames can actually update that position, or else we'll just get stuck at position zero. In practice this wasn't hurting anything because we only call Readdir once on our snapshots, to read the whole directory at once. Still nice to fix to avoid a gotcha for future maintenence, though. |
||
---|---|---|
.. | ||
testdata | ||
copy_dir.go | ||
copy_dir_test.go | ||
doc.go | ||
inode.go | ||
inode_freebsd.go | ||
inode_windows.go | ||
loader.go | ||
loader_load.go | ||
loader_load_test.go | ||
loader_snapshot.go | ||
loader_snapshot_test.go | ||
loader_test.go | ||
module_mgr.go | ||
testing.go |