summaryrefslogtreecommitdiff
path: root/vendor/github.com/ncruces/go-sqlite3/vfs/os_unix.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/ncruces/go-sqlite3/vfs/os_unix.go')
-rw-r--r--vendor/github.com/ncruces/go-sqlite3/vfs/os_unix.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/vendor/github.com/ncruces/go-sqlite3/vfs/os_unix.go b/vendor/github.com/ncruces/go-sqlite3/vfs/os_unix.go
index 6637c2922..c4f9ba870 100644
--- a/vendor/github.com/ncruces/go-sqlite3/vfs/os_unix.go
+++ b/vendor/github.com/ncruces/go-sqlite3/vfs/os_unix.go
@@ -9,7 +9,10 @@ import (
"golang.org/x/sys/unix"
)
-const _O_NOFOLLOW = unix.O_NOFOLLOW
+const (
+ _O_NOFOLLOW = unix.O_NOFOLLOW
+ canSyncDirs = true
+)
func osAccess(path string, flags AccessFlag) error {
var access uint32 // unix.F_OK