aboutsummaryrefslogtreecommitdiff
path: root/os.go
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2014-01-12 15:30:09 -0700
committerBen Johnson <benbjohnson@yahoo.com>2014-01-12 15:30:09 -0700
commit28c1e86a27b2dc3ba59b8c4d69f15a8e54334a89 (patch)
tree0ceb5ed513345f4d52fe419cb635bd6b6aed31de /os.go
parentAdd mock OS. (diff)
downloaddedo-28c1e86a27b2dc3ba59b8c4d69f15a8e54334a89.tar.gz
dedo-28c1e86a27b2dc3ba59b8c4d69f15a8e54334a89.tar.xz
Mock OS and File.
Diffstat (limited to 'os.go')
-rw-r--r--os.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/os.go b/os.go
index f1de723..ab415a9 100644
--- a/os.go
+++ b/os.go
@@ -4,7 +4,7 @@ import (
"os"
)
-type OS interface {
+type _os interface {
OpenFile(name string, flag int, perm os.FileMode) (file *os.File, err error)
Stat(name string) (fi os.FileInfo, err error)
Getpagesize() int