summaryrefslogtreecommitdiff
path: root/internal/types
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-05-25 23:57:29 +0300
committerPaul Buetow <paul@buetow.org>2024-05-25 23:57:29 +0300
commit9852cfaf6c44b9e2960719feb57c6d0e53598f3c (patch)
tree9397202cb143503d49a5b226ce5be8fcfa202be8 /internal/types
parent6e631b4ccbe71299137469a69900b874d709fe35 (diff)
add memoryfs vfs implementation
Diffstat (limited to 'internal/types')
-rw-r--r--internal/types/entry.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/types/entry.go b/internal/types/entry.go
index b4a05e4..c2ccb82 100644
--- a/internal/types/entry.go
+++ b/internal/types/entry.go
@@ -168,7 +168,7 @@ func (e Entry) SaveFile(filePath string) error {
return err
}
- return e.vfs.SaveFile(filePath, jsonStr)
+ return e.vfs.WriteFile(filePath, jsonStr)
}
func (e Entry) String() string {