aboutsummaryrefslogtreecommitdiffstats
path: root/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/storage
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2016-07-20 00:45:42 +0800
committerFelix Lange <fjl@twurst.com>2016-07-20 00:45:42 +0800
commit4d014d6d7e30f470725e3a0984f706292fe76366 (patch)
treefc120dad7d7313a3e2e387537a6d48a67f01ffbb /Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/storage
parenta4c4125b1155d9276614029163b498a17643f0f2 (diff)
downloadgo-tangerine-4d014d6d7e30f470725e3a0984f706292fe76366.tar.gz
go-tangerine-4d014d6d7e30f470725e3a0984f706292fe76366.tar.zst
go-tangerine-4d014d6d7e30f470725e3a0984f706292fe76366.zip
Godeps: bump github.com/syndtr/goleveldb/... to ab8b5dcf104
Diffstat (limited to 'Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/storage')
-rw-r--r--Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/storage/file_storage_nacl.go34
1 files changed, 34 insertions, 0 deletions
diff --git a/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/storage/file_storage_nacl.go b/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/storage/file_storage_nacl.go
new file mode 100644
index 000000000..5545aeef2
--- /dev/null
+++ b/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/storage/file_storage_nacl.go
@@ -0,0 +1,34 @@
+// Copyright (c) 2012, Suryandaru Triandana <syndtr@gmail.com>
+// All rights reserved.
+//
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// +build nacl
+
+package storage
+
+import (
+ "os"
+ "syscall"
+)
+
+func newFileLock(path string, readOnly bool) (fl fileLock, err error) {
+ return nil, syscall.ENOTSUP
+}
+
+func setFileLock(f *os.File, readOnly, lock bool) error {
+ return syscall.ENOTSUP
+}
+
+func rename(oldpath, newpath string) error {
+ return syscall.ENOTSUP
+}
+
+func isErrInvalid(err error) bool {
+ return false
+}
+
+func syncDir(name string) error {
+ return syscall.ENOTSUP
+}