Discover Packages
github.com/0xkhdr/specd-cli
internal
core
persist
package
Version:
v0.5.0
Opens a new window with list of versions in this module.
Published: Aug 7, 2026
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
AtomicReplace durably replaces path with data. The caller owns validation.
SyncDir flushes a directory entry so a rename that has already returned
survives a crash. It is the one owner of that call: a managed write is
durable only when the entry naming its new bytes is on disk too.
Hook is called at stable failure-injection points. It is nil in production.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.