Documentation ¶
Index ¶
- func NewUnixFSDirMapIterator(itr pbLinkItr, transformName TransformNameFunc) ipld.MapIterator
- type IterLink
- func (il *IterLink) AsBool() (bool, error)
- func (il *IterLink) AsBytes() ([]byte, error)
- func (il *IterLink) AsFloat() (float64, error)
- func (il *IterLink) AsInt() (int64, error)
- func (il *IterLink) AsLink() (datamodel.Link, error)
- func (il *IterLink) AsString() (string, error)
- func (il *IterLink) IsAbsent() bool
- func (il *IterLink) IsNull() bool
- func (il *IterLink) Kind() datamodel.Kind
- func (il *IterLink) Length() int64
- func (il *IterLink) ListIterator() datamodel.ListIterator
- func (il *IterLink) LookupByIndex(idx int64) (datamodel.Node, error)
- func (il *IterLink) LookupByNode(key datamodel.Node) (datamodel.Node, error)
- func (il *IterLink) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (il *IterLink) LookupByString(key string) (datamodel.Node, error)
- func (il *IterLink) MapIterator() datamodel.MapIterator
- func (il *IterLink) Prototype() datamodel.NodePrototype
- func (il *IterLink) Representation() datamodel.Node
- type TransformNameFunc
- type UnixFSDir__Itr
- type UnixFSDir__MapItr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUnixFSDirMapIterator ¶
func NewUnixFSDirMapIterator(itr pbLinkItr, transformName TransformNameFunc) ipld.MapIterator
Types ¶
type IterLink ¶ added in v1.7.4
func (*IterLink) ListIterator ¶ added in v1.7.4
func (il *IterLink) ListIterator() datamodel.ListIterator
func (*IterLink) LookupByIndex ¶ added in v1.7.4
func (*IterLink) LookupByNode ¶ added in v1.7.4
func (*IterLink) LookupBySegment ¶ added in v1.7.4
func (*IterLink) LookupByString ¶ added in v1.7.4
func (*IterLink) MapIterator ¶ added in v1.7.4
func (il *IterLink) MapIterator() datamodel.MapIterator
func (*IterLink) Prototype ¶ added in v1.7.4
func (il *IterLink) Prototype() datamodel.NodePrototype
func (*IterLink) Representation ¶ added in v1.7.4
type UnixFSDir__Itr ¶
type UnixFSDir__Itr struct {
// contains filtered or unexported fields
}
func NewUnixFSDirIterator ¶
func NewUnixFSDirIterator(itr pbLinkItr, transformName TransformNameFunc) *UnixFSDir__Itr
func (*UnixFSDir__Itr) Done ¶
func (itr *UnixFSDir__Itr) Done() bool
type UnixFSDir__MapItr ¶
type UnixFSDir__MapItr struct {
// contains filtered or unexported fields
}
UnixFSDir__MapItr throught the links as if they were a map Note: for now it does return links with no name, where the key is just String("")
func (*UnixFSDir__MapItr) Done ¶
func (itr *UnixFSDir__MapItr) Done() bool
func (*UnixFSDir__MapItr) Next ¶
func (itr *UnixFSDir__MapItr) Next() (k ipld.Node, v ipld.Node, err error)
Click to show internal directories.
Click to hide internal directories.