Documentation
¶
Overview ¶
Package fsyncdir syncs a directory's own entries (a new or renamed file appearing in it) to disk, so that change is durable across a crash, not just the changed file's own content -- a file's own fsync does not guarantee its directory entry is persisted. This is shared by database/plugin/metadata/sqlite and database/lifecycle, both of which need this after writing a restored/renamed file into a directory, rather than each keeping its own platform-specific copy to drift out of sync.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.