Documentation ¶
Index ¶
- Constants
- func Encode(store eris.Store, secret *eris.Secret, index *Index) (indexSize int, cap eris.ReadCapability, err error)
- func Load(store eris.Store, cap eris.ReadCapability, cb LoadFunc) (err error)
- type Entry
- type ErisFS
- type FileEntry
- type Index
- type LinkEntry
- type LinkMode
- type LoadFunc
- type Node
- type TreeEntry
Constants ¶
View Source
const ( CBORTag = 1701996916 // This package only supports version 1 of ERIS-FS. Version = 1 FileKind = 0 ExecKind = 1 LinkKind = 2 TreeKind = 3 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FileEntry ¶
type FileEntry struct { // Kind must be 0 or 1! Kind uint8 Cap eris.ReadCapability // contains filtered or unexported fields }
type Index ¶
type Index struct { // Set Version to 1! Version uint8 // Paths mapped to entries. Entries map[string]interface{} // contains filtered or unexported fields }
The type of version 1 of ERIS-FS format.
type TreeEntry ¶
type TreeEntry struct { // Kind must be 3! Kind uint8 Cap eris.ReadCapability // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.