MCPcopy
hub / github.com/etcd-io/etcd / Fdatasync

Function Fdatasync

client/pkg/fileutil/sync.go:27–29  ·  view source on GitHub ↗

Fdatasync is a wrapper around file.Sync(). Special handling is needed on linux platform.

(f *os.File)

Source from the content-addressed store, hash-verified

25
26// Fdatasync is a wrapper around file.Sync(). Special handling is needed on linux platform.
27func Fdatasync(f *os.File) error {
28 return f.Sync()
29}

Callers

nothing calls this directly

Calls 1

SyncMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…