Module linera_client::persistent::file
source · Structs§
- An implementation of
Persist
based on an atomically-updated file at a given path. An exclusive lock is taken usingflock(2)
to ensure that concurrent updates cannot happen, and writes are saved to a staging file before being moved over the old file, an operation that is atomic on all Unixes.