Skip to content

Commit c85ebec

Browse files
committed
change file storage interface
1 parent e472e0f commit c85ebec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datastore.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ type FileStorage interface {
7979
OpenFile(fileIdentifier string) (b []byte, fileid string, fullURL string, err error)
8080
GetURL(fileIdentifier string) (fullURL string)
8181
// always returning bytes might be a little expensive, but it makes the interface much more reasonable
82-
SaveFile(fileIdentifier string, b io.Reader) (fileid string, fullURL string, err error)
82+
SaveFile(fileIdentifier string, b io.Reader, sanitizePath bool) (fileid string, fullURL string, err error)
8383
}
8484

8585
// type Logger struct {

0 commit comments

Comments
 (0)