aboutsummaryrefslogtreecommitdiff
path: root/objects/object.go
diff options
context:
space:
mode:
Diffstat (limited to 'objects/object.go')
-rw-r--r--objects/object.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/objects/object.go b/objects/object.go
index b192912..1bc9dbf 100644
--- a/objects/object.go
+++ b/objects/object.go
@@ -16,6 +16,13 @@ const (
OTSnapshot ObjectType = "snapshot"
)
+var AllObjectTypes = []ObjectType{
+ OTBlob,
+ OTFile,
+ OTTree,
+ OTSnapshot,
+}
+
type RawObject struct {
Type ObjectType
Payload []byte