MCPcopy
hub / github.com/etcd-io/bbolt / fdatasync

Function fdatasync

bolt_linux.go:8–10  ·  view source on GitHub ↗

fdatasync flushes written data to a file descriptor.

(db *DB)

Source from the content-addressed store, hash-verified

6
7// fdatasync flushes written data to a file descriptor.
8func fdatasync(db *DB) error {
9 return syscall.Fdatasync(int(db.file.Fd()))
10}

Callers 4

writeMethod · 0.70
writeMetaMethod · 0.70
initMethod · 0.70
SyncMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected