mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 12:10:24 +03:00
Adding etag to headers
This commit is contained in:
@@ -150,3 +150,9 @@ func isValidBucket(bucket string) bool {
|
||||
}
|
||||
return valid
|
||||
}
|
||||
|
||||
func (storage *Storage) GetObjectMetadata(bucket, key string) mstorage.ObjectMetadata {
|
||||
objectKey := bucket + ":" + key
|
||||
|
||||
return storage.objectdata[objectKey].metadata
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user