Documentation ¶
Index ¶
- Constants
- func CheckIfLinkSelector(sel ipld.Node) bool
- func CheckIfUnixfsSelector(sel ipld.Node) bool
- func GenerateDataSelectorSpec(dpsPath string, matchPath bool, optionalSubSel builder.SelectorSpec) (selspec builder.SelectorSpec, err error)
- func GenerateLeftSubRangeSelector(selPath string, start, end int64) (datamodel.Node, error)
- func GenerateSubRangeSelector(selPath string, matchPath bool, start, end int64, ...) (datamodel.Node, error)
- func GenerateSubRangeSelectorSpec(selPath string, matchPath bool, start, end int64, ...) (builder.SelectorSpec, error)
- func IsAllSelector(sel ipld.Node) bool
- func LoadOrInitPeerKey(kf string) (crypto.PrivKey, error)
- func RootLeftSelector(path string) (ipld.Node, error)
- func SelectorToJson(sel ipld.Node) string
- func UnionPathSelector(paths []string, isLeft bool) (ipld.Node, error)
- func UnionPathSelectorWeb(paths []string, isLeft bool) (ipld.Node, error)
- func UnixFSPathSelectorNotRecursive(path string) builder.SelectorSpec
- func UnixFSPathSelectorSpec(path string, optionalSubselectorAtTarget builder.SelectorSpec) builder.SelectorSpec
Constants ¶
View Source
const LeftLinks = "Links/0/Hash"
Variables ¶
This section is empty.
Functions ¶
func CheckIfLinkSelector ¶
func CheckIfLinkSelector(sel ipld.Node) bool
func CheckIfUnixfsSelector ¶
func CheckIfUnixfsSelector(sel ipld.Node) bool
func GenerateDataSelectorSpec ¶
func GenerateDataSelectorSpec(dpsPath string, matchPath bool, optionalSubSel builder.SelectorSpec) (selspec builder.SelectorSpec, err error)
func GenerateSubRangeSelectorSpec ¶
func GenerateSubRangeSelectorSpec(selPath string, matchPath bool, start, end int64, optionalSubSel builder.SelectorSpec) (builder.SelectorSpec, error)
func IsAllSelector ¶
func IsAllSelector(sel ipld.Node) bool
func RootLeftSelector ¶
func SelectorToJson ¶
func SelectorToJson(sel ipld.Node) string
func UnionPathSelector ¶
func UnionPathSelectorWeb ¶
func UnixFSPathSelectorNotRecursive ¶
func UnixFSPathSelectorNotRecursive(path string) builder.SelectorSpec
UnixFSPathSelectorNotRecursive creates a selector for a file/path inside of a UnixFS directory not recursive if reification is setup on a link system
func UnixFSPathSelectorSpec ¶
func UnixFSPathSelectorSpec(path string, optionalSubselectorAtTarget builder.SelectorSpec) builder.SelectorSpec
UnixFSPathSelectorSpec creates a selector for a file/path inside of a UnixFS directory if reification is setup on a link system
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.