From 3ac1ee16f377d31a0fb80c8dae28b6239ac4229e Mon Sep 17 00:00:00 2001 From: Terin Stock Date: Sun, 9 Mar 2025 17:47:56 +0100 Subject: [chore] remove vendor --- .../github.com/ncruces/go-sqlite3/vfs/os_std_alloc.go | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 vendor/github.com/ncruces/go-sqlite3/vfs/os_std_alloc.go (limited to 'vendor/github.com/ncruces/go-sqlite3/vfs/os_std_alloc.go') diff --git a/vendor/github.com/ncruces/go-sqlite3/vfs/os_std_alloc.go b/vendor/github.com/ncruces/go-sqlite3/vfs/os_std_alloc.go deleted file mode 100644 index 4dd1bb32c..000000000 --- a/vendor/github.com/ncruces/go-sqlite3/vfs/os_std_alloc.go +++ /dev/null @@ -1,19 +0,0 @@ -//go:build !(linux || darwin) || sqlite3_flock - -package vfs - -import ( - "io" - "os" -) - -func osAllocate(file *os.File, size int64) error { - off, err := file.Seek(0, io.SeekEnd) - if err != nil { - return err - } - if size <= off { - return nil - } - return file.Truncate(size) -} -- cgit v1.2.3