aboutsummaryrefslogtreecommitdiff
path: root/fs/fs.go
diff options
context:
space:
mode:
Diffstat (limited to 'fs/fs.go')
-rw-r--r--fs/fs.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/fs.go b/fs/fs.go
index b06ded8..d6d0618 100644
--- a/fs/fs.go
+++ b/fs/fs.go
@@ -23,7 +23,8 @@ type File interface {
type RegularFile interface {
File
- Open() (io.ReadWriteCloser, error)
+ Open() (io.ReadCloser, error)
+ OpenWritable() (io.WriteCloser, error)
}
type Dir interface {