forked from mirror/go-ethereum
Merge pull request #2836 from fjl/godeps-update-leveldb
Godeps: bump github.com/syndtr/goleveldb/... to ab8b5dcf104release/1.5
commit
f273c64a94
34
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/storage/file_storage_nacl.go
generated
vendored
34
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/storage/file_storage_nacl.go
generated
vendored
@ -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 |
||||||
|
} |
Loading…
Reference in new issue