diff options
author | Laria Carolin Chabowski <laria@laria.me> | 2017-08-02 08:04:52 +0200 |
---|---|---|
committer | Laria Carolin Chabowski <laria@laria.me> | 2017-09-26 21:35:40 +0200 |
commit | da9e27176fd0934d7837077c784ebb1b5e8c98f8 (patch) | |
tree | 764ae1166651cad00f4a99afb523facae43d368a /objects | |
parent | 03890a8b501475240b343664bdfc3bacebae1cbe (diff) | |
download | petrific-da9e27176fd0934d7837077c784ebb1b5e8c98f8.tar.gz petrific-da9e27176fd0934d7837077c784ebb1b5e8c98f8.tar.bz2 petrific-da9e27176fd0934d7837077c784ebb1b5e8c98f8.zip |
Add local storage
Diffstat (limited to 'objects')
-rw-r--r-- | objects/object.go | 7 |
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 |