aboutsummaryrefslogtreecommitdiffstats
path: root/repository.go
diff options
context:
space:
mode:
Diffstat (limited to 'repository.go')
-rw-r--r--repository.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/repository.go b/repository.go
index 2e2e57e..cd94159 100644
--- a/repository.go
+++ b/repository.go
@@ -33,7 +33,7 @@ func NewMemoryRepository() *Repository {
// based on a fs.OS, if you want to use a custom one you need to use the function
// NewRepository and build you filesystem.Storage
func NewFilesystemRepository(path string) (*Repository, error) {
- s, err := filesystem.NewStorage(osfs.NewOS(path))
+ s, err := filesystem.NewStorage(osfs.New(path))
if err != nil {
return nil, err
}