mirror of
https://github.com/ncruces/go-sqlite3.git
synced 2026-01-12 05:59:14 +00:00
16 lines
319 B
Go
16 lines
319 B
Go
//go:build !(darwin || linux) || !(amd64 || arm64 || riscv64) || sqlite3_flock || sqlite3_noshm || sqlite3_nosys
|
|
|
|
package util
|
|
|
|
import "context"
|
|
|
|
type mmapState struct{}
|
|
|
|
func (s *mmapState) init(ctx context.Context, _ bool) context.Context {
|
|
return ctx
|
|
}
|
|
|
|
func CanMapFiles(ctx context.Context) bool {
|
|
return false
|
|
}
|