type

Object

Object identity and authoritative content metadata.

Properties

PropertyTypeDescription
KeystringOpaque object key.
Sizeint64Stored byte length.
ContentTypestringStored media type.
ModifiedAttime.TimeRequired authoritative timestamp used by safe reconciliation.

Full signature

type Object struct { Key string Size int64 ContentType string // ModifiedAt must be non-zero for every object returned by List. Ridu uses // it to enforce the reconciliation grace period and refuses cleanup when it // is unavailable. ModifiedAt time.Time }

Source storage/storage.go:18