ipldswh

package module
v0.0.0-...-90c6897 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2022 License: MIT Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Type typeSlab

Type is a struct embeding a NodePrototype/Type for every Node implementation in this package. One of its major uses is to start the construction of a value. You can use it like this:

ipldswh.Type.YourTypeName.NewBuilder().BeginMap() //...

and:

ipldswh.Type.OtherTypeName.NewBuilder().AssignString("x") // ...

Functions

func DecodeGeneric

func DecodeGeneric(na ipld.NodeAssembler, r io.Reader) error

func Encode

func Encode(n Snapshot, w io.Writer) error

Encode serializes a git node to a raw binary form.

func EncodeGeneric

func EncodeGeneric(n ipld.Node, w io.Writer) error

func EncodeSnapshot

func EncodeSnapshot(s Snapshot, w io.Writer) error

func EncodeSnapshotBranch

func EncodeSnapshotBranch(n namedBranchRaw, w io.Writer) error

Types

type BranchName

type BranchName = *_BranchName

BranchName matches the IPLD Schema type "BranchName". It has string kind.

func (BranchName) AsBool

func (BranchName) AsBool() (bool, error)

func (BranchName) AsBytes

func (BranchName) AsBytes() ([]byte, error)

func (BranchName) AsFloat

func (BranchName) AsFloat() (float64, error)

func (BranchName) AsInt

func (BranchName) AsInt() (int64, error)
func (BranchName) AsLink() (datamodel.Link, error)

func (BranchName) AsString

func (n BranchName) AsString() (string, error)

func (BranchName) IsAbsent

func (BranchName) IsAbsent() bool

func (BranchName) IsNull

func (BranchName) IsNull() bool

func (BranchName) Kind

func (BranchName) Kind() datamodel.Kind

func (BranchName) Length

func (BranchName) Length() int64

func (BranchName) ListIterator

func (BranchName) ListIterator() datamodel.ListIterator

func (BranchName) LookupByIndex

func (BranchName) LookupByIndex(idx int64) (datamodel.Node, error)

func (BranchName) LookupByNode

func (BranchName) LookupByNode(datamodel.Node) (datamodel.Node, error)

func (BranchName) LookupBySegment

func (BranchName) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)

func (BranchName) LookupByString

func (BranchName) LookupByString(string) (datamodel.Node, error)

func (BranchName) MapIterator

func (BranchName) MapIterator() datamodel.MapIterator

func (BranchName) Prototype

func (BranchName) Prototype() datamodel.NodePrototype

func (BranchName) Representation

func (n BranchName) Representation() datamodel.Node

func (BranchName) String

func (n BranchName) String() string

func (BranchName) Type

func (BranchName) Type() schema.Type
type Link = *_Link

Link matches the IPLD Schema type "Link". It has link kind.

func (Link) AsBool

func (Link) AsBool() (bool, error)

func (Link) AsBytes

func (Link) AsBytes() ([]byte, error)

func (Link) AsFloat

func (Link) AsFloat() (float64, error)

func (Link) AsInt

func (Link) AsInt() (int64, error)
func (n Link) AsLink() (datamodel.Link, error)

func (Link) AsString

func (Link) AsString() (string, error)

func (Link) IsAbsent

func (Link) IsAbsent() bool

func (Link) IsNull

func (Link) IsNull() bool

func (Link) Kind

func (Link) Kind() datamodel.Kind

func (Link) Length

func (Link) Length() int64
func (n Link) Link() datamodel.Link

func (Link) ListIterator

func (Link) ListIterator() datamodel.ListIterator

func (Link) LookupByIndex

func (Link) LookupByIndex(idx int64) (datamodel.Node, error)

func (Link) LookupByNode

func (Link) LookupByNode(datamodel.Node) (datamodel.Node, error)

func (Link) LookupBySegment

func (Link) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)

func (Link) LookupByString

func (Link) LookupByString(string) (datamodel.Node, error)

func (Link) MapIterator

func (Link) MapIterator() datamodel.MapIterator

func (Link) Prototype

func (Link) Prototype() datamodel.NodePrototype

func (Link) Representation

func (n Link) Representation() datamodel.Node

func (Link) Type

func (Link) Type() schema.Type

type MaybeBranchName

type MaybeBranchName = *_BranchName__Maybe

func (MaybeBranchName) AsNode

func (m MaybeBranchName) AsNode() datamodel.Node

func (MaybeBranchName) Exists

func (m MaybeBranchName) Exists() bool

func (MaybeBranchName) IsAbsent

func (m MaybeBranchName) IsAbsent() bool

func (MaybeBranchName) IsNull

func (m MaybeBranchName) IsNull() bool

func (MaybeBranchName) Must

func (m MaybeBranchName) Must() BranchName
type MaybeLink = *_Link__Maybe

func (MaybeLink) AsNode

func (m MaybeLink) AsNode() datamodel.Node

func (MaybeLink) Exists

func (m MaybeLink) Exists() bool

func (MaybeLink) IsAbsent

func (m MaybeLink) IsAbsent() bool

func (MaybeLink) IsNull

func (m MaybeLink) IsNull() bool

func (MaybeLink) Must

func (m MaybeLink) Must() Link

type MaybeSnapshot

type MaybeSnapshot = *_Snapshot__Maybe

func (MaybeSnapshot) AsNode

func (m MaybeSnapshot) AsNode() datamodel.Node

func (MaybeSnapshot) Exists

func (m MaybeSnapshot) Exists() bool

func (MaybeSnapshot) IsAbsent

func (m MaybeSnapshot) IsAbsent() bool

func (MaybeSnapshot) IsNull

func (m MaybeSnapshot) IsNull() bool

func (MaybeSnapshot) Must

func (m MaybeSnapshot) Must() Snapshot

type MaybeSnapshotBranch

type MaybeSnapshotBranch = *_SnapshotBranch__Maybe

func DecodeSnapshotBranch

func DecodeSnapshotBranch(rd *bufio.Reader) (string, MaybeSnapshotBranch, error)

DecodeSnapshotBranch fills a NodeAssembler (from `Type.SnapshotBranch__Repr.NewBuilder()`) from a stream of bytes

func (MaybeSnapshotBranch) AsNode

func (m MaybeSnapshotBranch) AsNode() datamodel.Node

func (MaybeSnapshotBranch) Exists

func (m MaybeSnapshotBranch) Exists() bool

func (MaybeSnapshotBranch) IsAbsent

func (m MaybeSnapshotBranch) IsAbsent() bool

func (MaybeSnapshotBranch) IsNull

func (m MaybeSnapshotBranch) IsNull() bool

func (MaybeSnapshotBranch) Must

type MaybeSnapshotBranch_Alias

type MaybeSnapshotBranch_Alias = *_SnapshotBranch_Alias__Maybe

func (MaybeSnapshotBranch_Alias) AsNode

func (MaybeSnapshotBranch_Alias) Exists

func (m MaybeSnapshotBranch_Alias) Exists() bool

func (MaybeSnapshotBranch_Alias) IsAbsent

func (m MaybeSnapshotBranch_Alias) IsAbsent() bool

func (MaybeSnapshotBranch_Alias) IsNull

func (m MaybeSnapshotBranch_Alias) IsNull() bool

func (MaybeSnapshotBranch_Alias) Must

type MaybeSnapshotBranch_Content

type MaybeSnapshotBranch_Content = *_SnapshotBranch_Content__Maybe

func (MaybeSnapshotBranch_Content) AsNode

func (MaybeSnapshotBranch_Content) Exists

func (m MaybeSnapshotBranch_Content) Exists() bool

func (MaybeSnapshotBranch_Content) IsAbsent

func (m MaybeSnapshotBranch_Content) IsAbsent() bool

func (MaybeSnapshotBranch_Content) IsNull

func (m MaybeSnapshotBranch_Content) IsNull() bool

func (MaybeSnapshotBranch_Content) Must

type MaybeSnapshotBranch_Directory

type MaybeSnapshotBranch_Directory = *_SnapshotBranch_Directory__Maybe

func (MaybeSnapshotBranch_Directory) AsNode

func (MaybeSnapshotBranch_Directory) Exists

func (MaybeSnapshotBranch_Directory) IsAbsent

func (m MaybeSnapshotBranch_Directory) IsAbsent() bool

func (MaybeSnapshotBranch_Directory) IsNull

func (MaybeSnapshotBranch_Directory) Must

type MaybeSnapshotBranch_Release

type MaybeSnapshotBranch_Release = *_SnapshotBranch_Release__Maybe

func (MaybeSnapshotBranch_Release) AsNode

func (MaybeSnapshotBranch_Release) Exists

func (m MaybeSnapshotBranch_Release) Exists() bool

func (MaybeSnapshotBranch_Release) IsAbsent

func (m MaybeSnapshotBranch_Release) IsAbsent() bool

func (MaybeSnapshotBranch_Release) IsNull

func (m MaybeSnapshotBranch_Release) IsNull() bool

func (MaybeSnapshotBranch_Release) Must

type MaybeSnapshotBranch_Revision

type MaybeSnapshotBranch_Revision = *_SnapshotBranch_Revision__Maybe

func (MaybeSnapshotBranch_Revision) AsNode

func (MaybeSnapshotBranch_Revision) Exists

func (MaybeSnapshotBranch_Revision) IsAbsent

func (m MaybeSnapshotBranch_Revision) IsAbsent() bool

func (MaybeSnapshotBranch_Revision) IsNull

func (MaybeSnapshotBranch_Revision) Must

type MaybeSnapshotBranch_Snapshot

type MaybeSnapshotBranch_Snapshot = *_SnapshotBranch_Snapshot__Maybe

func (MaybeSnapshotBranch_Snapshot) AsNode

func (MaybeSnapshotBranch_Snapshot) Exists

func (MaybeSnapshotBranch_Snapshot) IsAbsent

func (m MaybeSnapshotBranch_Snapshot) IsAbsent() bool

func (MaybeSnapshotBranch_Snapshot) IsNull

func (MaybeSnapshotBranch_Snapshot) Must

type MaybeSnapshot_Link = *_Snapshot_Link__Maybe

func (MaybeSnapshot_Link) AsNode

func (m MaybeSnapshot_Link) AsNode() datamodel.Node

func (MaybeSnapshot_Link) Exists

func (m MaybeSnapshot_Link) Exists() bool

func (MaybeSnapshot_Link) IsAbsent

func (m MaybeSnapshot_Link) IsAbsent() bool

func (MaybeSnapshot_Link) IsNull

func (m MaybeSnapshot_Link) IsNull() bool

func (MaybeSnapshot_Link) Must

type MaybeString

type MaybeString = *_String__Maybe

func (MaybeString) AsNode

func (m MaybeString) AsNode() datamodel.Node

func (MaybeString) Exists

func (m MaybeString) Exists() bool

func (MaybeString) IsAbsent

func (m MaybeString) IsAbsent() bool

func (MaybeString) IsNull

func (m MaybeString) IsNull() bool

func (MaybeString) Must

func (m MaybeString) Must() String

type Snapshot

type Snapshot = *_Snapshot

Snapshot matches the IPLD Schema type "Snapshot". It has map kind.

func Decode

func Decode(r io.Reader) (Snapshot, error)

Decode produces an Snapshot from a stream / binary represnetation. Decode reads from a reader to fill a NodeAssembler

func DecodeSnapshot

func DecodeSnapshot(rd *bufio.Reader) (Snapshot, error)

DecodeSnapshot fills a NodeAssembler (from `Type.Snapshot__Repr.NewBuilder()`) from a stream of bytes

func (Snapshot) AsBool

func (Snapshot) AsBool() (bool, error)

func (Snapshot) AsBytes

func (Snapshot) AsBytes() ([]byte, error)

func (Snapshot) AsFloat

func (Snapshot) AsFloat() (float64, error)

func (Snapshot) AsInt

func (Snapshot) AsInt() (int64, error)
func (Snapshot) AsLink() (datamodel.Link, error)

func (Snapshot) AsString

func (Snapshot) AsString() (string, error)

func (Snapshot) IsAbsent

func (Snapshot) IsAbsent() bool

func (Snapshot) IsNull

func (Snapshot) IsNull() bool

func (Snapshot) Iterator

func (n Snapshot) Iterator() *Snapshot__Itr

func (Snapshot) Kind

func (Snapshot) Kind() datamodel.Kind

func (Snapshot) Length

func (n Snapshot) Length() int64

func (Snapshot) ListIterator

func (Snapshot) ListIterator() datamodel.ListIterator

func (Snapshot) LookupByIndex

func (Snapshot) LookupByIndex(idx int64) (datamodel.Node, error)

func (Snapshot) LookupByNode

func (n Snapshot) LookupByNode(k datamodel.Node) (datamodel.Node, error)

func (Snapshot) LookupBySegment

func (n Snapshot) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)

func (Snapshot) LookupByString

func (n Snapshot) LookupByString(k string) (datamodel.Node, error)

func (Snapshot) MapIterator

func (n Snapshot) MapIterator() datamodel.MapIterator

func (Snapshot) Prototype

func (Snapshot) Prototype() datamodel.NodePrototype

func (Snapshot) Representation

func (n Snapshot) Representation() datamodel.Node

func (Snapshot) Type

func (Snapshot) Type() schema.Type

type SnapshotBranch

type SnapshotBranch = *_SnapshotBranch

SnapshotBranch matches the IPLD Schema type "SnapshotBranch". SnapshotBranch has union typekind, which means its data model behaviors are that of a map kind.

func (SnapshotBranch) AsBool

func (SnapshotBranch) AsBool() (bool, error)

func (SnapshotBranch) AsBytes

func (SnapshotBranch) AsBytes() ([]byte, error)

func (SnapshotBranch) AsFloat

func (SnapshotBranch) AsFloat() (float64, error)

func (SnapshotBranch) AsInt

func (SnapshotBranch) AsInt() (int64, error)
func (SnapshotBranch) AsLink() (datamodel.Link, error)

func (SnapshotBranch) AsString

func (SnapshotBranch) AsString() (string, error)

func (SnapshotBranch) IsAbsent

func (SnapshotBranch) IsAbsent() bool

func (SnapshotBranch) IsNull

func (SnapshotBranch) IsNull() bool

func (SnapshotBranch) Kind

func (SnapshotBranch) Kind() datamodel.Kind

func (SnapshotBranch) Length

func (SnapshotBranch) Length() int64

func (SnapshotBranch) ListIterator

func (SnapshotBranch) ListIterator() datamodel.ListIterator

func (SnapshotBranch) LookupByIndex

func (SnapshotBranch) LookupByIndex(idx int64) (datamodel.Node, error)

func (SnapshotBranch) LookupByNode

func (n SnapshotBranch) LookupByNode(key datamodel.Node) (datamodel.Node, error)

func (SnapshotBranch) LookupBySegment

func (n SnapshotBranch) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)

func (SnapshotBranch) LookupByString

func (n SnapshotBranch) LookupByString(key string) (datamodel.Node, error)

func (SnapshotBranch) MapIterator

func (n SnapshotBranch) MapIterator() datamodel.MapIterator

func (SnapshotBranch) Prototype

func (SnapshotBranch) Representation

func (n SnapshotBranch) Representation() datamodel.Node

func (SnapshotBranch) Type

func (SnapshotBranch) Type() schema.Type

type SnapshotBranch_Alias

type SnapshotBranch_Alias = *_SnapshotBranch_Alias

SnapshotBranch_Alias matches the IPLD Schema type "SnapshotBranch_Alias". It has struct type-kind, and may be interrogated like map kind.

func (SnapshotBranch_Alias) AsBool

func (SnapshotBranch_Alias) AsBool() (bool, error)

func (SnapshotBranch_Alias) AsBytes

func (SnapshotBranch_Alias) AsBytes() ([]byte, error)

func (SnapshotBranch_Alias) AsFloat

func (SnapshotBranch_Alias) AsFloat() (float64, error)

func (SnapshotBranch_Alias) AsInt

func (SnapshotBranch_Alias) AsInt() (int64, error)

func (SnapshotBranch_Alias) AsString

func (SnapshotBranch_Alias) AsString() (string, error)

func (SnapshotBranch_Alias) IsAbsent

func (SnapshotBranch_Alias) IsAbsent() bool

func (SnapshotBranch_Alias) IsNull

func (SnapshotBranch_Alias) IsNull() bool

func (SnapshotBranch_Alias) Kind

func (SnapshotBranch_Alias) Length

func (SnapshotBranch_Alias) Length() int64

func (SnapshotBranch_Alias) ListIterator

func (SnapshotBranch_Alias) LookupByIndex

func (SnapshotBranch_Alias) LookupByIndex(idx int64) (datamodel.Node, error)

func (SnapshotBranch_Alias) LookupByNode

func (n SnapshotBranch_Alias) LookupByNode(key datamodel.Node) (datamodel.Node, error)

func (SnapshotBranch_Alias) LookupBySegment

func (n SnapshotBranch_Alias) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)

func (SnapshotBranch_Alias) LookupByString

func (n SnapshotBranch_Alias) LookupByString(key string) (datamodel.Node, error)

func (SnapshotBranch_Alias) MapIterator

func (n SnapshotBranch_Alias) MapIterator() datamodel.MapIterator

func (SnapshotBranch_Alias) Prototype

func (SnapshotBranch_Alias) Representation

func (n SnapshotBranch_Alias) Representation() datamodel.Node

func (SnapshotBranch_Alias) Type

type SnapshotBranch_Content

type SnapshotBranch_Content = *_SnapshotBranch_Content

SnapshotBranch_Content matches the IPLD Schema type "SnapshotBranch_Content". It has struct type-kind, and may be interrogated like map kind.

func (SnapshotBranch_Content) AsBool

func (SnapshotBranch_Content) AsBool() (bool, error)

func (SnapshotBranch_Content) AsBytes

func (SnapshotBranch_Content) AsBytes() ([]byte, error)

func (SnapshotBranch_Content) AsFloat

func (SnapshotBranch_Content) AsFloat() (float64, error)

func (SnapshotBranch_Content) AsInt

func (SnapshotBranch_Content) AsInt() (int64, error)

func (SnapshotBranch_Content) AsString

func (SnapshotBranch_Content) AsString() (string, error)

func (SnapshotBranch_Content) IsAbsent

func (SnapshotBranch_Content) IsAbsent() bool

func (SnapshotBranch_Content) IsNull

func (SnapshotBranch_Content) IsNull() bool

func (SnapshotBranch_Content) Kind

func (SnapshotBranch_Content) Length

func (SnapshotBranch_Content) Length() int64

func (SnapshotBranch_Content) ListIterator

func (SnapshotBranch_Content) LookupByIndex

func (SnapshotBranch_Content) LookupByIndex(idx int64) (datamodel.Node, error)

func (SnapshotBranch_Content) LookupByNode

func (n SnapshotBranch_Content) LookupByNode(key datamodel.Node) (datamodel.Node, error)

func (SnapshotBranch_Content) LookupBySegment

func (n SnapshotBranch_Content) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)

func (SnapshotBranch_Content) LookupByString

func (n SnapshotBranch_Content) LookupByString(key string) (datamodel.Node, error)

func (SnapshotBranch_Content) MapIterator

func (SnapshotBranch_Content) Prototype

func (SnapshotBranch_Content) Representation

func (n SnapshotBranch_Content) Representation() datamodel.Node

func (SnapshotBranch_Content) Type

type SnapshotBranch_Directory

type SnapshotBranch_Directory = *_SnapshotBranch_Directory

SnapshotBranch_Directory matches the IPLD Schema type "SnapshotBranch_Directory". It has struct type-kind, and may be interrogated like map kind.

func (SnapshotBranch_Directory) AsBool

func (SnapshotBranch_Directory) AsBool() (bool, error)

func (SnapshotBranch_Directory) AsBytes

func (SnapshotBranch_Directory) AsBytes() ([]byte, error)

func (SnapshotBranch_Directory) AsFloat

func (SnapshotBranch_Directory) AsFloat() (float64, error)

func (SnapshotBranch_Directory) AsInt

func (SnapshotBranch_Directory) AsString

func (SnapshotBranch_Directory) AsString() (string, error)

func (SnapshotBranch_Directory) IsAbsent

func (SnapshotBranch_Directory) IsAbsent() bool

func (SnapshotBranch_Directory) IsNull

func (SnapshotBranch_Directory) IsNull() bool

func (SnapshotBranch_Directory) Kind

func (SnapshotBranch_Directory) Length

func (SnapshotBranch_Directory) ListIterator

func (SnapshotBranch_Directory) LookupByIndex

func (SnapshotBranch_Directory) LookupByIndex(idx int64) (datamodel.Node, error)

func (SnapshotBranch_Directory) LookupByNode

func (n SnapshotBranch_Directory) LookupByNode(key datamodel.Node) (datamodel.Node, error)

func (SnapshotBranch_Directory) LookupBySegment

func (SnapshotBranch_Directory) LookupByString

func (n SnapshotBranch_Directory) LookupByString(key string) (datamodel.Node, error)

func (SnapshotBranch_Directory) MapIterator

func (SnapshotBranch_Directory) Prototype

func (SnapshotBranch_Directory) Representation

func (n SnapshotBranch_Directory) Representation() datamodel.Node

func (SnapshotBranch_Directory) Type

type SnapshotBranch_Release

type SnapshotBranch_Release = *_SnapshotBranch_Release

SnapshotBranch_Release matches the IPLD Schema type "SnapshotBranch_Release". It has struct type-kind, and may be interrogated like map kind.

func (SnapshotBranch_Release) AsBool

func (SnapshotBranch_Release) AsBool() (bool, error)

func (SnapshotBranch_Release) AsBytes

func (SnapshotBranch_Release) AsBytes() ([]byte, error)

func (SnapshotBranch_Release) AsFloat

func (SnapshotBranch_Release) AsFloat() (float64, error)

func (SnapshotBranch_Release) AsInt

func (SnapshotBranch_Release) AsInt() (int64, error)

func (SnapshotBranch_Release) AsString

func (SnapshotBranch_Release) AsString() (string, error)

func (SnapshotBranch_Release) IsAbsent

func (SnapshotBranch_Release) IsAbsent() bool

func (SnapshotBranch_Release) IsNull

func (SnapshotBranch_Release) IsNull() bool

func (SnapshotBranch_Release) Kind

func (SnapshotBranch_Release) Length

func (SnapshotBranch_Release) Length() int64

func (SnapshotBranch_Release) ListIterator

func (SnapshotBranch_Release) LookupByIndex

func (SnapshotBranch_Release) LookupByIndex(idx int64) (datamodel.Node, error)

func (SnapshotBranch_Release) LookupByNode

func (n SnapshotBranch_Release) LookupByNode(key datamodel.Node) (datamodel.Node, error)

func (SnapshotBranch_Release) LookupBySegment

func (n SnapshotBranch_Release) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)

func (SnapshotBranch_Release) LookupByString

func (n SnapshotBranch_Release) LookupByString(key string) (datamodel.Node, error)

func (SnapshotBranch_Release) MapIterator

func (SnapshotBranch_Release) Prototype

func (SnapshotBranch_Release) Representation

func (n SnapshotBranch_Release) Representation() datamodel.Node

func (SnapshotBranch_Release) Type

type SnapshotBranch_Revision

type SnapshotBranch_Revision = *_SnapshotBranch_Revision

SnapshotBranch_Revision matches the IPLD Schema type "SnapshotBranch_Revision". It has struct type-kind, and may be interrogated like map kind.

func (SnapshotBranch_Revision) AsBool

func (SnapshotBranch_Revision) AsBool() (bool, error)

func (SnapshotBranch_Revision) AsBytes

func (SnapshotBranch_Revision) AsBytes() ([]byte, error)

func (SnapshotBranch_Revision) AsFloat

func (SnapshotBranch_Revision) AsFloat() (float64, error)

func (SnapshotBranch_Revision) AsInt

func (SnapshotBranch_Revision) AsInt() (int64, error)

func (SnapshotBranch_Revision) AsString

func (SnapshotBranch_Revision) AsString() (string, error)

func (SnapshotBranch_Revision) IsAbsent

func (SnapshotBranch_Revision) IsAbsent() bool

func (SnapshotBranch_Revision) IsNull

func (SnapshotBranch_Revision) IsNull() bool

func (SnapshotBranch_Revision) Kind

func (SnapshotBranch_Revision) Length

func (SnapshotBranch_Revision) Length() int64

func (SnapshotBranch_Revision) ListIterator

func (SnapshotBranch_Revision) LookupByIndex

func (SnapshotBranch_Revision) LookupByIndex(idx int64) (datamodel.Node, error)

func (SnapshotBranch_Revision) LookupByNode

func (n SnapshotBranch_Revision) LookupByNode(key datamodel.Node) (datamodel.Node, error)

func (SnapshotBranch_Revision) LookupBySegment

func (SnapshotBranch_Revision) LookupByString

func (n SnapshotBranch_Revision) LookupByString(key string) (datamodel.Node, error)

func (SnapshotBranch_Revision) MapIterator

func (SnapshotBranch_Revision) Prototype

func (SnapshotBranch_Revision) Representation

func (n SnapshotBranch_Revision) Representation() datamodel.Node

func (SnapshotBranch_Revision) Type

type SnapshotBranch_Snapshot

type SnapshotBranch_Snapshot = *_SnapshotBranch_Snapshot

SnapshotBranch_Snapshot matches the IPLD Schema type "SnapshotBranch_Snapshot". It has struct type-kind, and may be interrogated like map kind.

func (SnapshotBranch_Snapshot) AsBool

func (SnapshotBranch_Snapshot) AsBool() (bool, error)

func (SnapshotBranch_Snapshot) AsBytes

func (SnapshotBranch_Snapshot) AsBytes() ([]byte, error)

func (SnapshotBranch_Snapshot) AsFloat

func (SnapshotBranch_Snapshot) AsFloat() (float64, error)

func (SnapshotBranch_Snapshot) AsInt

func (SnapshotBranch_Snapshot) AsInt() (int64, error)

func (SnapshotBranch_Snapshot) AsString

func (SnapshotBranch_Snapshot) AsString() (string, error)

func (SnapshotBranch_Snapshot) IsAbsent

func (SnapshotBranch_Snapshot) IsAbsent() bool

func (SnapshotBranch_Snapshot) IsNull

func (SnapshotBranch_Snapshot) IsNull() bool

func (SnapshotBranch_Snapshot) Kind

func (SnapshotBranch_Snapshot) Length

func (SnapshotBranch_Snapshot) Length() int64

func (SnapshotBranch_Snapshot) ListIterator

func (SnapshotBranch_Snapshot) LookupByIndex

func (SnapshotBranch_Snapshot) LookupByIndex(idx int64) (datamodel.Node, error)

func (SnapshotBranch_Snapshot) LookupByNode

func (n SnapshotBranch_Snapshot) LookupByNode(key datamodel.Node) (datamodel.Node, error)

func (SnapshotBranch_Snapshot) LookupBySegment

func (SnapshotBranch_Snapshot) LookupByString

func (n SnapshotBranch_Snapshot) LookupByString(key string) (datamodel.Node, error)

func (SnapshotBranch_Snapshot) MapIterator

func (SnapshotBranch_Snapshot) Prototype

func (SnapshotBranch_Snapshot) Representation

func (n SnapshotBranch_Snapshot) Representation() datamodel.Node

func (SnapshotBranch_Snapshot) Type

type Snapshot_Link = *_Snapshot_Link

Snapshot_Link matches the IPLD Schema type "Snapshot_Link". It has link kind.

func (Snapshot_Link) AsBool

func (Snapshot_Link) AsBool() (bool, error)

func (Snapshot_Link) AsBytes

func (Snapshot_Link) AsBytes() ([]byte, error)

func (Snapshot_Link) AsFloat

func (Snapshot_Link) AsFloat() (float64, error)

func (Snapshot_Link) AsInt

func (Snapshot_Link) AsInt() (int64, error)
func (n Snapshot_Link) AsLink() (datamodel.Link, error)

func (Snapshot_Link) AsString

func (Snapshot_Link) AsString() (string, error)

func (Snapshot_Link) IsAbsent

func (Snapshot_Link) IsAbsent() bool

func (Snapshot_Link) IsNull

func (Snapshot_Link) IsNull() bool

func (Snapshot_Link) Kind

func (Snapshot_Link) Kind() datamodel.Kind

func (Snapshot_Link) Length

func (Snapshot_Link) Length() int64
func (n Snapshot_Link) Link() datamodel.Link

func (Snapshot_Link) LinkTargetNodePrototype

func (Snapshot_Link) LinkTargetNodePrototype() datamodel.NodePrototype

func (Snapshot_Link) ListIterator

func (Snapshot_Link) ListIterator() datamodel.ListIterator

func (Snapshot_Link) LookupByIndex

func (Snapshot_Link) LookupByIndex(idx int64) (datamodel.Node, error)

func (Snapshot_Link) LookupByNode

func (Snapshot_Link) LookupByNode(datamodel.Node) (datamodel.Node, error)

func (Snapshot_Link) LookupBySegment

func (Snapshot_Link) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)

func (Snapshot_Link) LookupByString

func (Snapshot_Link) LookupByString(string) (datamodel.Node, error)

func (Snapshot_Link) MapIterator

func (Snapshot_Link) MapIterator() datamodel.MapIterator

func (Snapshot_Link) Prototype

func (Snapshot_Link) Representation

func (n Snapshot_Link) Representation() datamodel.Node

func (Snapshot_Link) Type

func (Snapshot_Link) Type() schema.Type

type Snapshot__Itr

type Snapshot__Itr struct {
	// contains filtered or unexported fields
}

func (*Snapshot__Itr) Done

func (itr *Snapshot__Itr) Done() bool

func (*Snapshot__Itr) Next

func (itr *Snapshot__Itr) Next() (k BranchName, v MaybeSnapshotBranch)

type String

type String = *_String

String matches the IPLD Schema type "String". It has string kind.

func (String) AsBool

func (String) AsBool() (bool, error)

func (String) AsBytes

func (String) AsBytes() ([]byte, error)

func (String) AsFloat

func (String) AsFloat() (float64, error)

func (String) AsInt

func (String) AsInt() (int64, error)
func (String) AsLink() (datamodel.Link, error)

func (String) AsString

func (n String) AsString() (string, error)

func (String) IsAbsent

func (String) IsAbsent() bool

func (String) IsNull

func (String) IsNull() bool

func (String) Kind

func (String) Kind() datamodel.Kind

func (String) Length

func (String) Length() int64

func (String) ListIterator

func (String) ListIterator() datamodel.ListIterator

func (String) LookupByIndex

func (String) LookupByIndex(idx int64) (datamodel.Node, error)

func (String) LookupByNode

func (String) LookupByNode(datamodel.Node) (datamodel.Node, error)

func (String) LookupBySegment

func (String) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)

func (String) LookupByString

func (String) LookupByString(string) (datamodel.Node, error)

func (String) MapIterator

func (String) MapIterator() datamodel.MapIterator

func (String) Prototype

func (String) Prototype() datamodel.NodePrototype

func (String) Representation

func (n String) Representation() datamodel.Node

func (String) String

func (n String) String() string

func (String) Type

func (String) Type() schema.Type

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL