mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-30 10:47:14 -06:00
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_test.go | ||
copy_dir.go | ||
doc.go | ||
inode_freebsd.go | ||
inode_windows.go | ||
inode.go | ||
loader_load_test.go | ||
loader_load.go | ||
loader_snapshot_test.go | ||
loader_snapshot.go | ||
loader_test.go | ||
loader.go | ||
module_mgr.go | ||
testing.go |