Adding storage modifications for upcoming fs system

This commit is contained in:
Frederick F. Kautz IV
2015-01-25 17:41:59 -08:00
parent 7005d979bd
commit 49641e3410
6 changed files with 74 additions and 36 deletions

View File

@@ -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
}