retrace_server/directory

Local object-storage adapter for development and recovery tests.

Values

pub fn quiesced(
  attempt: retrace_server.WriteAttempt,
) -> retrace_server.Quiescence

The local put writes, syncs and renames inside the calling process, so a put that returned an error has finished and cannot publish later. A put that never returned may be running or lost with its process, which this adapter cannot tell apart, so a host overrides that case from its own supervision.

pub fn remove(
  root: String,
  key: String,
) -> Result(Nil, retrace_server.StorageError)
pub fn store(root: String) -> retrace_server.ObjectStore
✨ Search Document