Major restructure, bundle blobs

This commit also breaks the repository format.
This commit is contained in:
Alexander Neumann committed 2015-04-29 23:27:32 +02:00
1 parent b836da1980
commit 60a0fe8349
29 files changed
+937 -1123

No files matched your search

+11
View File
@@ -19,6 +19,17 @@ const (
Tree = 1
)
func (t BlobType) String() string {
switch t {
case Data:
return "data"
case Tree:
return "tree"
}
return fmt.Sprintf("<BlobType %d>", t)
}
func (t BlobType) MarshalJSON() ([]byte, error) {
switch t {
case Data: