diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-01-12 15:30:09 -0700 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-01-12 15:30:09 -0700 |
commit | 28c1e86a27b2dc3ba59b8c4d69f15a8e54334a89 (patch) | |
tree | 0ceb5ed513345f4d52fe419cb635bd6b6aed31de /file.go | |
parent | Add mock OS. (diff) | |
download | dedo-28c1e86a27b2dc3ba59b8c4d69f15a8e54334a89.tar.gz dedo-28c1e86a27b2dc3ba59b8c4d69f15a8e54334a89.tar.xz |
Mock OS and File.
Diffstat (limited to 'file.go')
-rw-r--r-- | file.go | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -0,0 +1,8 @@ +package bolt + +type file interface { + Fd() uintptr + Name() string + ReadAt(b []byte, off int64) (n int, err error) + WriteAt(b []byte, off int64) (n int, err error) +} |