Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Blob ¶
type Blob struct { Hash string `json:"h"` Data []byte `json:"-"` Extra interface{} `json:"e,omitempty"` }
Blob holds a blob hash/data pair Extra is here to temporarily attach related data
func (*Blob) IsFiletreeNode ¶
IsFiletreeNode returns true if the blob contains a filetree node (an encoded file/dir meta data)
type SizedBlobRef ¶
SizedBlobRef holds a blob hash and its size
Click to show internal directories.
Click to hide internal directories.