mirror of
https://github.com/minio/minio.git
synced 2025-11-28 13:09:09 -05:00
Adding storage modifications for upcoming fs system
This commit is contained in:
@@ -43,7 +43,7 @@ type ObjectMetadata struct {
|
||||
Bucket string
|
||||
Key string
|
||||
Created time.Time
|
||||
Size int
|
||||
Size int64
|
||||
ETag string
|
||||
}
|
||||
|
||||
@@ -60,3 +60,7 @@ func IsValidBucket(bucket string) bool {
|
||||
match, _ := regexp.MatchString("^[a-zA-Z][a-zA-Z0-9\\.\\-]+[a-zA-Z0-9]$", bucket)
|
||||
return match
|
||||
}
|
||||
|
||||
func IsValidObject(object string) bool {
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user