aboutsummaryrefslogtreecommitdiffstats
path: root/utils/fs/fs.go
diff options
context:
space:
mode:
Diffstat (limited to 'utils/fs/fs.go')
-rw-r--r--utils/fs/fs.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/fs/fs.go b/utils/fs/fs.go
index 3bcf88f..9be0f88 100644
--- a/utils/fs/fs.go
+++ b/utils/fs/fs.go
@@ -16,9 +16,10 @@ var (
type Filesystem interface {
Create(filename string) (File, error)
Open(filename string) (File, error)
- Rename(from, to string) error
Stat(filename string) (FileInfo, error)
ReadDir(path string) ([]FileInfo, error)
+ TempFile(dir, prefix string) (File, error)
+ Rename(from, to string) error
Join(elem ...string) string
Dir(path string) Filesystem
Base() string