mirror of
https://github.com/ncruces/go-sqlite3.git
synced 2026-01-12 05:59:14 +00:00
31 lines
614 B
Go
31 lines
614 B
Go
//go:build !windows && !linux && !darwin
|
|
|
|
package sqlite3
|
|
|
|
import (
|
|
"os"
|
|
"time"
|
|
|
|
"golang.org/x/sys/unix"
|
|
)
|
|
|
|
func (vfsOSMethods) Sync(file *os.File, fullsync, dataonly bool) error {
|
|
return file.Sync()
|
|
}
|
|
|
|
func (vfsOSMethods) Allocate(file *os.File, size int64) error {
|
|
return notImplErr
|
|
}
|
|
|
|
func (vfsOSMethods) fcntlGetLock(file *os.File, lock *unix.Flock_t) error {
|
|
return notImplErr
|
|
}
|
|
|
|
func (vfsOSMethods) fcntlSetLock(file *os.File, lock unix.Flock_t) error {
|
|
return notImplErr
|
|
}
|
|
|
|
func (vfsOSMethods) fcntlSetLockTimeout(timeout time.Duration, file *os.File, lock unix.Flock_t) error {
|
|
return notImplErr
|
|
}
|