GCS uploads: check Close() error

some code simplification too
This commit is contained in:
Nicola Murino
2020-11-13 18:40:18 +01:00
parent fbd9919afa
commit 1a6863f4b1
3 changed files with 61 additions and 42 deletions

View File

@@ -57,6 +57,7 @@ type Fs interface {
GetMimeType(name string) (string, error)
}
// ErrVfsUnsupported defines the error for an unsupported VFS operation
var ErrVfsUnsupported = errors.New("Not supported")
// QuotaCheckResult defines the result for a quota check