Debian Codegraph @

vendor/github.com/coreos/bbolt/boltsync_unix.go

raw
1 // +build !windows,!plan9,!linux,!openbsd
2
3 package bolt
4
5 // fdatasync flushes written data to a file descriptor.
6 func fdatasync(db *DB) error {
7 return db.file.Sync()
8 }