Documentation
¶
Index ¶
- func ParseQuery(spec string) (root cid.Cid, path datamodel.Path, scope trustlessutils.DagScope, ...)
- func PrintableQuery(c cid.Cid, path datamodel.Path, scope trustlessutils.DagScope, ...) string
- func WritingVisitor(w io.Writer, duplicates, fullPath bool) func(p datamodel.Path, depth int, blk Block)
- type Block
- type Child
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseQuery ¶
func PrintableQuery ¶
func PrintableQuery(c cid.Cid, path datamodel.Path, scope trustlessutils.DagScope, byteRange *trustlessutils.ByteRange, duplicates bool) string
Types ¶
type Block ¶
type Block struct {
Cid cid.Cid
IpldPath datamodel.Path
UnixfsPath datamodel.Path
DataType int64 // go-unixfsnode/data.Data_*
Children []Child
ByteOffset int64
ByteSize int64
Arity int64 // for sharded nodes
FieldData []byte // bitfield data for sharded nodes
BlockSizes []int64 // for sharded files
ShardIndex string
// contains filtered or unexported fields
}
func NewBlockWith ¶
func (Block) DataTypeString ¶
Click to show internal directories.
Click to hide internal directories.