stat: Fix output when stat a prefix which has other prefixes (#4501)

This commit is contained in:
Anis Eleuch
2023-03-23 13:03:04 -07:00
committed by GitHub
parent 8d6afee8fc
commit 81453d7c8f
3 changed files with 57 additions and 40 deletions
+7
View File
@@ -34,6 +34,13 @@ func (e APINotImplemented) Error() string {
return "`" + e.API + "` is not supported for `" + e.APIType + "`."
}
// InvalidArgument - passed argument is invalid for this operation
type InvalidArgument struct{}
func (e InvalidArgument) Error() string {
return "invalid argument"
}
// GenericBucketError - generic bucket operations error
type GenericBucketError struct {
Bucket string