mirror of
https://github.com/ncruces/go-sqlite3.git
synced 2026-01-12 05:59:14 +00:00
29 lines
609 B
Go
29 lines
609 B
Go
//go:build sqlite3_nolock && unix && !(linux || darwin || freebsd || illumos)
|
|
|
|
package vfs
|
|
|
|
import (
|
|
"os"
|
|
"time"
|
|
)
|
|
|
|
func osUnlock(file *os.File, start, len int64) _ErrorCode {
|
|
return _OK
|
|
}
|
|
|
|
func osLock(file *os.File, typ int16, start, len int64, timeout time.Duration, def _ErrorCode) _ErrorCode {
|
|
return _OK
|
|
}
|
|
|
|
func osReadLock(file *os.File, start, len int64, timeout time.Duration) _ErrorCode {
|
|
return _OK
|
|
}
|
|
|
|
func osWriteLock(file *os.File, start, len int64, timeout time.Duration) _ErrorCode {
|
|
return _OK
|
|
}
|
|
|
|
func osCheckLock(file *os.File, start, len int64) (bool, _ErrorCode) {
|
|
return false, _OK
|
|
}
|