aboutsummaryrefslogtreecommitdiff
path: root/pkg/database/localfs
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/database/localfs')
-rw-r--r--pkg/database/localfs/filesystem.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/pkg/database/localfs/filesystem.go b/pkg/database/localfs/filesystem.go
index c7c6458..d516ce9 100644
--- a/pkg/database/localfs/filesystem.go
+++ b/pkg/database/localfs/filesystem.go
@@ -11,10 +11,8 @@ type FileSystemRepository struct {
root string
}
-func NewFileSystemRepository(root string) *FileSystemRepository {
- return &FileSystemRepository{
- root: root,
- }
+func NewFileSystemRepository() *FileSystemRepository {
+ return &FileSystemRepository{}
}
func (self *FileSystemRepository) getFilesFromPath(filepath string) ([]fs.FileInfo, error) {