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

Function fdatasync

bolt_windows.go:17–19  ·  view source on GitHub ↗

fdatasync flushes written data to a file descriptor.

(db *DB)

Source from the content-addressed store, hash-verified

15
16// fdatasync flushes written data to a file descriptor.
17func fdatasync(db *DB) error {
18 return db.file.Sync()
19}
20
21// flock acquires an advisory lock on a file descriptor.
22func flock(db *DB, exclusive bool, timeout time.Duration) error {

Callers

nothing calls this directly

Calls 1

SyncMethod · 0.80

Tested by

no test coverage detected