Skip to content

Commit 0ab9139

Browse files
committed
Fix storage interface
1 parent 45ebf50 commit 0ab9139

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/store/store.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ var ErrFileInfoExists = errors.New("file info already exists")
1414
var ErrFileHashExists = errors.New("file hash already exists")
1515

1616
type Storage interface {
17-
Store(context.Context, *types.ScannedFile) (*FileStored, error)
17+
Store(context.Context, *types.ScannedFile) (FileStored, error)
1818
}
1919

2020
type StorageOption func(*sqliteStorage)

0 commit comments

Comments
 (0)