From 3dc20bcbb5eb4b03acf3f6b3106d866322bcada0 Mon Sep 17 00:00:00 2001 From: Umputun Date: Mon, 11 Mar 2019 01:18:36 -0500 Subject: [PATCH] image comments --- backend/app/store/image/image.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/store/image/image.go b/backend/app/store/image/image.go index f24f6b6e..6f395c36 100644 --- a/backend/app/store/image/image.go +++ b/backend/app/store/image/image.go @@ -14,7 +14,6 @@ import ( "sync" log "github.com/go-pkgz/lgr" - "github.com/pkg/errors" ) @@ -40,6 +39,7 @@ type FileSystem struct { // Save data from reader for given file name to local FS. Returns id as a hash of name // name should be passed in unique prefix, for example with userID_* +// Files partitioned across multiple subdirectories. func (f *FileSystem) Save(name string, r io.Reader) (id string, err error) { h := sha1.Sum([]byte(name))