Documentation
¶
Index ¶
Constants ¶
View Source
const (
ObjectTypeTreeMimeType string = "clawio/tree"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ObjectInfo ¶
type ObjectInfo struct {
PathSpec string `json:"pathspec"`
Size int64 `json:"size"`
Type ObjectType `json:"type"`
MimeType string `json:"mime_type"`
Checksum string `json:"checksum"`
}
ObjectInfo represents the metadata information retrieved from an object, either tree or blob.
type ObjectType ¶
type ObjectType int
ObjectType indicates if the object is either a Tree or a BLOB.
const ( ObjectTypeTree ObjectType = iota ObjectTypeBLOB )
Click to show internal directories.
Click to hide internal directories.