summaryrefslogtreecommitdiff
path: root/internal/types
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-06-04 19:57:37 +0300
committerPaul Buetow <paul@buetow.org>2024-06-04 19:57:37 +0300
commitc294a9ea142fde08eadea8c0555ba95b0d68e757 (patch)
tree714d3c5bd45b58ca5e305284082ce24c8b6c1470 /internal/types
parent08d07b0d9d5db780f41ab783f86389f329484948 (diff)
unit tests pass again
Diffstat (limited to 'internal/types')
-rw-r--r--internal/types/entry.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/types/entry.go b/internal/types/entry.go
index cc2f8dd..c59936f 100644
--- a/internal/types/entry.go
+++ b/internal/types/entry.go
@@ -82,9 +82,9 @@ func NewEntryFromFile(filePath string, fs_ ...fs) (Entry, error) {
return NewEntry(bytes, fs)
}
-func NewEntryFromCopy(other Entry) (Entry, error) {
+func NewEntryFromCopy(other Entry, fs ...fs) (Entry, error) {
var e Entry
- e.initialize()
+ e.initialize(fs...)
return e.Update(other)
}