Registry / utility / rboyer-safeio

rboyer-safeio

JSON →
library0.2.3gogounverified

Provides functions for atomic, fsync-safe disk operations.

go get github.com/rboyer/safeio
INSTALL
IMPORT
SIG · RBOYER-SAFEIO
R
rboyer-safeio
utilitygov0.2.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

safeio
✓ github.com/rboyer/safeio

Atomically write data to a file with fsync.

package main import "github.com/rboyer/safeio" func main() { err := safeio.WriteToFile([]byte("data"), "/tmp/file", 0644) if err != nil { panic(err) } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.3latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
rboyer-safeio — go get rboyer-safeio · libregistry