Documentation ¶
Overview ¶
Package data provides tools for working with the UnixFS data structure that is encoded in the "Data" field of the larger a DagPB encoded IPLD node.
See https://github.com/ipfs/specs/blob/master/UNIXFS.md for more information about this data structure.
This package provides an IPLD Prime compatible node interface for this data structure, as well as methods for serializing and deserializing the data structure to protobuf
Index ¶
- Constants
- Variables
- func AppendEncodeUnixFSData(enc []byte, node UnixFSData) []byte
- func AppendEncodeUnixFSMetadata(enc []byte, node UnixFSMetadata) []byte
- func AppendEncodeUnixTime(enc []byte, node UnixTime) []byte
- func DefaultPermissions(u UnixFSData) int
- func EncodeUnixFSData(node UnixFSData) []byte
- func EncodeUnixFSMetadata(node UnixFSMetadata) []byte
- type BlockSizes
- func (BlockSizes) AsBool() (bool, error)
- func (BlockSizes) AsBytes() ([]byte, error)
- func (BlockSizes) AsFloat() (float64, error)
- func (BlockSizes) AsInt() (int64, error)
- func (BlockSizes) AsLink() (ipld.Link, error)
- func (BlockSizes) AsString() (string, error)
- func (BlockSizes) IsAbsent() bool
- func (BlockSizes) IsNull() bool
- func (n BlockSizes) Iterator() *BlockSizes__Itr
- func (BlockSizes) Kind() ipld.Kind
- func (n BlockSizes) Length() int64
- func (n BlockSizes) ListIterator() ipld.ListIterator
- func (n BlockSizes) LookupByIndex(idx int64) (ipld.Node, error)
- func (n BlockSizes) LookupByNode(k ipld.Node) (ipld.Node, error)
- func (n BlockSizes) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)
- func (BlockSizes) LookupByString(string) (ipld.Node, error)
- func (BlockSizes) MapIterator() ipld.MapIterator
- func (BlockSizes) Prototype() ipld.NodePrototype
- func (n BlockSizes) Representation() ipld.Node
- func (BlockSizes) Type() schema.Type
- type BlockSizes__Itr
- type Bytes
- func (Bytes) AsBool() (bool, error)
- func (n Bytes) AsBytes() ([]byte, error)
- func (Bytes) AsFloat() (float64, error)
- func (Bytes) AsInt() (int64, error)
- func (Bytes) AsLink() (ipld.Link, error)
- func (Bytes) AsString() (string, error)
- func (n Bytes) Bytes() []byte
- func (Bytes) IsAbsent() bool
- func (Bytes) IsNull() bool
- func (Bytes) Kind() ipld.Kind
- func (Bytes) Length() int64
- func (Bytes) ListIterator() ipld.ListIterator
- func (Bytes) LookupByIndex(idx int64) (ipld.Node, error)
- func (Bytes) LookupByNode(ipld.Node) (ipld.Node, error)
- func (Bytes) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)
- func (Bytes) LookupByString(string) (ipld.Node, error)
- func (Bytes) MapIterator() ipld.MapIterator
- func (Bytes) Prototype() ipld.NodePrototype
- func (n Bytes) Representation() ipld.Node
- func (Bytes) Type() schema.Type
- type ErrInvalidDataType
- type ErrWrongNodeType
- type ErrWrongWireType
- type Int
- func (Int) AsBool() (bool, error)
- func (Int) AsBytes() ([]byte, error)
- func (Int) AsFloat() (float64, error)
- func (n Int) AsInt() (int64, error)
- func (Int) AsLink() (ipld.Link, error)
- func (Int) AsString() (string, error)
- func (n Int) Int() int64
- func (Int) IsAbsent() bool
- func (Int) IsNull() bool
- func (Int) Kind() ipld.Kind
- func (Int) Length() int64
- func (Int) ListIterator() ipld.ListIterator
- func (Int) LookupByIndex(idx int64) (ipld.Node, error)
- func (Int) LookupByNode(ipld.Node) (ipld.Node, error)
- func (Int) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)
- func (Int) LookupByString(string) (ipld.Node, error)
- func (Int) MapIterator() ipld.MapIterator
- func (Int) Prototype() ipld.NodePrototype
- func (n Int) Representation() ipld.Node
- func (Int) Type() schema.Type
- type MaybeBlockSizes
- type MaybeBytes
- type MaybeInt
- type MaybeString
- type MaybeUnixFSData
- type MaybeUnixFSMetadata
- type MaybeUnixTime
- type String
- func (String) AsBool() (bool, error)
- func (String) AsBytes() ([]byte, error)
- func (String) AsFloat() (float64, error)
- func (String) AsInt() (int64, error)
- func (String) AsLink() (ipld.Link, error)
- func (n String) AsString() (string, error)
- func (String) IsAbsent() bool
- func (String) IsNull() bool
- func (String) Kind() ipld.Kind
- func (String) Length() int64
- func (String) ListIterator() ipld.ListIterator
- func (String) LookupByIndex(idx int64) (ipld.Node, error)
- func (String) LookupByNode(ipld.Node) (ipld.Node, error)
- func (String) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)
- func (String) LookupByString(string) (ipld.Node, error)
- func (String) MapIterator() ipld.MapIterator
- func (String) Prototype() ipld.NodePrototype
- func (n String) Representation() ipld.Node
- func (n String) String() string
- func (String) Type() schema.Type
- type UnixFSData
- func (UnixFSData) AsBool() (bool, error)
- func (UnixFSData) AsBytes() ([]byte, error)
- func (UnixFSData) AsFloat() (float64, error)
- func (UnixFSData) AsInt() (int64, error)
- func (UnixFSData) AsLink() (ipld.Link, error)
- func (UnixFSData) AsString() (string, error)
- func (UnixFSData) IsAbsent() bool
- func (UnixFSData) IsNull() bool
- func (UnixFSData) Kind() ipld.Kind
- func (UnixFSData) Length() int64
- func (UnixFSData) ListIterator() ipld.ListIterator
- func (UnixFSData) LookupByIndex(idx int64) (ipld.Node, error)
- func (n UnixFSData) LookupByNode(key ipld.Node) (ipld.Node, error)
- func (n UnixFSData) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)
- func (n UnixFSData) LookupByString(key string) (ipld.Node, error)
- func (n UnixFSData) MapIterator() ipld.MapIterator
- func (u UnixFSData) Permissions() int
- func (UnixFSData) Prototype() ipld.NodePrototype
- func (n UnixFSData) Representation() ipld.Node
- func (UnixFSData) Type() schema.Type
- type UnixFSMetadata
- func (UnixFSMetadata) AsBool() (bool, error)
- func (UnixFSMetadata) AsBytes() ([]byte, error)
- func (UnixFSMetadata) AsFloat() (float64, error)
- func (UnixFSMetadata) AsInt() (int64, error)
- func (UnixFSMetadata) AsLink() (ipld.Link, error)
- func (UnixFSMetadata) AsString() (string, error)
- func (UnixFSMetadata) IsAbsent() bool
- func (UnixFSMetadata) IsNull() bool
- func (UnixFSMetadata) Kind() ipld.Kind
- func (UnixFSMetadata) Length() int64
- func (UnixFSMetadata) ListIterator() ipld.ListIterator
- func (UnixFSMetadata) LookupByIndex(idx int64) (ipld.Node, error)
- func (n UnixFSMetadata) LookupByNode(key ipld.Node) (ipld.Node, error)
- func (n UnixFSMetadata) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)
- func (n UnixFSMetadata) LookupByString(key string) (ipld.Node, error)
- func (n UnixFSMetadata) MapIterator() ipld.MapIterator
- func (UnixFSMetadata) Prototype() ipld.NodePrototype
- func (n UnixFSMetadata) Representation() ipld.Node
- func (UnixFSMetadata) Type() schema.Type
- type UnixTime
- func (UnixTime) AsBool() (bool, error)
- func (UnixTime) AsBytes() ([]byte, error)
- func (UnixTime) AsFloat() (float64, error)
- func (UnixTime) AsInt() (int64, error)
- func (UnixTime) AsLink() (ipld.Link, error)
- func (UnixTime) AsString() (string, error)
- func (UnixTime) IsAbsent() bool
- func (UnixTime) IsNull() bool
- func (UnixTime) Kind() ipld.Kind
- func (UnixTime) Length() int64
- func (UnixTime) ListIterator() ipld.ListIterator
- func (UnixTime) LookupByIndex(idx int64) (ipld.Node, error)
- func (n UnixTime) LookupByNode(key ipld.Node) (ipld.Node, error)
- func (n UnixTime) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)
- func (n UnixTime) LookupByString(key string) (ipld.Node, error)
- func (n UnixTime) MapIterator() ipld.MapIterator
- func (UnixTime) Prototype() ipld.NodePrototype
- func (n UnixTime) Representation() ipld.Node
- func (UnixTime) Type() schema.Type
Constants ¶
const ( Data_Raw int64 = 0 Data_Directory int64 = 1 Data_File int64 = 2 Data_Metadata int64 = 3 Data_Symlink int64 = 4 Data_HAMTShard int64 = 5 )
const ( Data_DataTypeWireNum protowire.Number = 1 Data_DataWireNum protowire.Number = 2 Data_FileSizeWireNum protowire.Number = 3 Data_BlockSizesWireNum protowire.Number = 4 Data_HashTypeWireNum protowire.Number = 5 Data_FanoutWireNum protowire.Number = 6 Data_ModeWireNum protowire.Number = 7 Data_MtimeWireNum protowire.Number = 8 UnixTime_SecondsWireNum protowire.Number = 1 UnixTime_FractionalNanosecondsWireNum protowire.Number = 2 Metadata_MimeTypeWireNum protowire.Number = 1 )
const DirectorPerimissionsDefault = 0o0755
const Field__BlockSizes = "BlockSizes"
const Field__Data = "Data"
const Field__DataType = "DataType"
const Field__Fanout = "Fanout"
const Field__FileSize = "FileSize"
const Field__HashType = "HashType"
const Field__MimeType = "MimeType"
const Field__Mode = "Mode"
const Field__Mtime = "Mtime"
const Field__Nanoseconds = "FractionalNanoseconds"
const Field__Seconds = "Seconds"
const FilePermissionsDefault = 0o0644
const HAMTShardPerimissionsDefault = 0o0755
Variables ¶
var DataTypeNames = map[int64]string{ Data_Raw: "Raw", Data_Directory: "Directory", Data_File: "File", Data_Metadata: "Metadata", Data_Symlink: "Symlink", Data_HAMTShard: "HAMTShard", }
var DataTypeValues = map[string]int64{ "Raw": Data_Raw, "Directory": Data_Directory, "File": Data_File, "Metadata": Data_Metadata, "Symlink": Data_Symlink, "HAMTShard": Data_HAMTShard, }
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:
data.Type.YourTypeName.NewBuilder().BeginMap() //...
and:
data.Type.OtherTypeName.NewBuilder().AssignString("x") // ...
Functions ¶
func AppendEncodeUnixFSData ¶
func AppendEncodeUnixFSData(enc []byte, node UnixFSData) []byte
func AppendEncodeUnixFSMetadata ¶
func AppendEncodeUnixFSMetadata(enc []byte, node UnixFSMetadata) []byte
func AppendEncodeUnixTime ¶
func DefaultPermissions ¶
func DefaultPermissions(u UnixFSData) int
DefaultPermissions gets the default permissions for a UnixFS object based on its type
func EncodeUnixFSData ¶
func EncodeUnixFSData(node UnixFSData) []byte
EncodeUnixFSData serializes a UnixFSData node to bytes
func EncodeUnixFSMetadata ¶
func EncodeUnixFSMetadata(node UnixFSMetadata) []byte
EncodeUnixFSMetadata serializes a UnixFSMetadata node to bytes
Types ¶
type BlockSizes ¶
type BlockSizes = *_BlockSizes
BlockSizes matches the IPLD Schema type "BlockSizes". It has list kind.
func (BlockSizes) AsBool ¶
func (BlockSizes) AsBool() (bool, error)
func (BlockSizes) AsBytes ¶
func (BlockSizes) AsBytes() ([]byte, error)
func (BlockSizes) AsFloat ¶
func (BlockSizes) AsFloat() (float64, error)
func (BlockSizes) AsInt ¶
func (BlockSizes) AsInt() (int64, error)
func (BlockSizes) AsString ¶
func (BlockSizes) AsString() (string, error)
func (BlockSizes) IsAbsent ¶
func (BlockSizes) IsAbsent() bool
func (BlockSizes) IsNull ¶
func (BlockSizes) IsNull() bool
func (BlockSizes) Iterator ¶
func (n BlockSizes) Iterator() *BlockSizes__Itr
func (BlockSizes) Kind ¶
func (BlockSizes) Kind() ipld.Kind
func (BlockSizes) Length ¶
func (n BlockSizes) Length() int64
func (BlockSizes) ListIterator ¶
func (n BlockSizes) ListIterator() ipld.ListIterator
func (BlockSizes) LookupByIndex ¶
func (n BlockSizes) LookupByIndex(idx int64) (ipld.Node, error)
func (BlockSizes) LookupByNode ¶
func (BlockSizes) LookupBySegment ¶
func (n BlockSizes) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)
func (BlockSizes) LookupByString ¶
func (BlockSizes) LookupByString(string) (ipld.Node, error)
func (BlockSizes) MapIterator ¶
func (BlockSizes) MapIterator() ipld.MapIterator
func (BlockSizes) Prototype ¶
func (BlockSizes) Prototype() ipld.NodePrototype
func (BlockSizes) Representation ¶
func (n BlockSizes) Representation() ipld.Node
func (BlockSizes) Type ¶
func (BlockSizes) Type() schema.Type
type BlockSizes__Itr ¶
type BlockSizes__Itr struct {
// contains filtered or unexported fields
}
func (*BlockSizes__Itr) Done ¶
func (itr *BlockSizes__Itr) Done() bool
func (*BlockSizes__Itr) Next ¶
func (itr *BlockSizes__Itr) Next() (idx int64, v Int)
type Bytes ¶
type Bytes = *_Bytes
Bytes matches the IPLD Schema type "Bytes". It has bytes kind.
func (Bytes) ListIterator ¶
func (Bytes) ListIterator() ipld.ListIterator
func (Bytes) LookupBySegment ¶
func (Bytes) MapIterator ¶
func (Bytes) MapIterator() ipld.MapIterator
func (Bytes) Prototype ¶
func (Bytes) Prototype() ipld.NodePrototype
func (Bytes) Representation ¶
type ErrInvalidDataType ¶
type ErrInvalidDataType struct {
DataType int64
}
func (ErrInvalidDataType) Error ¶
func (e ErrInvalidDataType) Error() string
type ErrWrongNodeType ¶
func (ErrWrongNodeType) Error ¶
func (e ErrWrongNodeType) Error() string
type ErrWrongWireType ¶
type ErrWrongWireType struct { Module string Field string Expected protowire.Type Actual protowire.Type }
func (ErrWrongWireType) Error ¶
func (e ErrWrongWireType) Error() string
type Int ¶
type Int = *_Int
Int matches the IPLD Schema type "Int". It has int kind.
func (Int) ListIterator ¶
func (Int) ListIterator() ipld.ListIterator
func (Int) LookupBySegment ¶
func (Int) MapIterator ¶
func (Int) MapIterator() ipld.MapIterator
func (Int) Prototype ¶
func (Int) Prototype() ipld.NodePrototype
func (Int) Representation ¶
type MaybeBlockSizes ¶
type MaybeBlockSizes = *_BlockSizes__Maybe
func (MaybeBlockSizes) AsNode ¶
func (m MaybeBlockSizes) AsNode() ipld.Node
func (MaybeBlockSizes) Exists ¶
func (m MaybeBlockSizes) Exists() bool
func (MaybeBlockSizes) IsAbsent ¶
func (m MaybeBlockSizes) IsAbsent() bool
func (MaybeBlockSizes) IsNull ¶
func (m MaybeBlockSizes) IsNull() bool
func (MaybeBlockSizes) Must ¶
func (m MaybeBlockSizes) Must() BlockSizes
type MaybeBytes ¶
type MaybeBytes = *_Bytes__Maybe
func (MaybeBytes) AsNode ¶
func (m MaybeBytes) AsNode() ipld.Node
func (MaybeBytes) Exists ¶
func (m MaybeBytes) Exists() bool
func (MaybeBytes) IsAbsent ¶
func (m MaybeBytes) IsAbsent() bool
func (MaybeBytes) IsNull ¶
func (m MaybeBytes) IsNull() bool
func (MaybeBytes) Must ¶
func (m MaybeBytes) Must() Bytes
type MaybeString ¶
type MaybeString = *_String__Maybe
func (MaybeString) AsNode ¶
func (m MaybeString) AsNode() ipld.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 MaybeUnixFSData ¶
type MaybeUnixFSData = *_UnixFSData__Maybe
func (MaybeUnixFSData) AsNode ¶
func (m MaybeUnixFSData) AsNode() ipld.Node
func (MaybeUnixFSData) Exists ¶
func (m MaybeUnixFSData) Exists() bool
func (MaybeUnixFSData) IsAbsent ¶
func (m MaybeUnixFSData) IsAbsent() bool
func (MaybeUnixFSData) IsNull ¶
func (m MaybeUnixFSData) IsNull() bool
func (MaybeUnixFSData) Must ¶
func (m MaybeUnixFSData) Must() UnixFSData
type MaybeUnixFSMetadata ¶
type MaybeUnixFSMetadata = *_UnixFSMetadata__Maybe
func (MaybeUnixFSMetadata) AsNode ¶
func (m MaybeUnixFSMetadata) AsNode() ipld.Node
func (MaybeUnixFSMetadata) Exists ¶
func (m MaybeUnixFSMetadata) Exists() bool
func (MaybeUnixFSMetadata) IsAbsent ¶
func (m MaybeUnixFSMetadata) IsAbsent() bool
func (MaybeUnixFSMetadata) IsNull ¶
func (m MaybeUnixFSMetadata) IsNull() bool
func (MaybeUnixFSMetadata) Must ¶
func (m MaybeUnixFSMetadata) Must() UnixFSMetadata
type MaybeUnixTime ¶
type MaybeUnixTime = *_UnixTime__Maybe
func (MaybeUnixTime) AsNode ¶
func (m MaybeUnixTime) AsNode() ipld.Node
func (MaybeUnixTime) Exists ¶
func (m MaybeUnixTime) Exists() bool
func (MaybeUnixTime) IsAbsent ¶
func (m MaybeUnixTime) IsAbsent() bool
func (MaybeUnixTime) IsNull ¶
func (m MaybeUnixTime) IsNull() bool
func (MaybeUnixTime) Must ¶
func (m MaybeUnixTime) Must() UnixTime
type String ¶
type String = *_String
String matches the IPLD Schema type "String". It has string kind.
func (String) ListIterator ¶
func (String) ListIterator() ipld.ListIterator
func (String) LookupBySegment ¶
func (String) MapIterator ¶
func (String) MapIterator() ipld.MapIterator
func (String) Prototype ¶
func (String) Prototype() ipld.NodePrototype
func (String) Representation ¶
type UnixFSData ¶
type UnixFSData = *_UnixFSData
UnixFSData matches the IPLD Schema type "UnixFSData". It has Struct type-kind, and may be interrogated like map kind.
func DecodeUnixFSData ¶
func DecodeUnixFSData(src []byte) (UnixFSData, error)
func (UnixFSData) AsBool ¶
func (UnixFSData) AsBool() (bool, error)
func (UnixFSData) AsBytes ¶
func (UnixFSData) AsBytes() ([]byte, error)
func (UnixFSData) AsFloat ¶
func (UnixFSData) AsFloat() (float64, error)
func (UnixFSData) AsInt ¶
func (UnixFSData) AsInt() (int64, error)
func (UnixFSData) AsString ¶
func (UnixFSData) AsString() (string, error)
func (UnixFSData) IsAbsent ¶
func (UnixFSData) IsAbsent() bool
func (UnixFSData) IsNull ¶
func (UnixFSData) IsNull() bool
func (UnixFSData) Kind ¶
func (UnixFSData) Kind() ipld.Kind
func (UnixFSData) Length ¶
func (UnixFSData) Length() int64
func (UnixFSData) ListIterator ¶
func (UnixFSData) ListIterator() ipld.ListIterator
func (UnixFSData) LookupByIndex ¶
func (UnixFSData) LookupByIndex(idx int64) (ipld.Node, error)
func (UnixFSData) LookupByNode ¶
func (UnixFSData) LookupBySegment ¶
func (n UnixFSData) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)
func (UnixFSData) LookupByString ¶
func (n UnixFSData) LookupByString(key string) (ipld.Node, error)
func (UnixFSData) MapIterator ¶
func (n UnixFSData) MapIterator() ipld.MapIterator
func (UnixFSData) Permissions ¶
func (u UnixFSData) Permissions() int
func (UnixFSData) Prototype ¶
func (UnixFSData) Prototype() ipld.NodePrototype
func (UnixFSData) Representation ¶
func (n UnixFSData) Representation() ipld.Node
func (UnixFSData) Type ¶
func (UnixFSData) Type() schema.Type
type UnixFSMetadata ¶
type UnixFSMetadata = *_UnixFSMetadata
UnixFSMetadata matches the IPLD Schema type "UnixFSMetadata". It has Struct type-kind, and may be interrogated like map kind.
func DecodeUnixFSMetadata ¶
func DecodeUnixFSMetadata(src []byte) (UnixFSMetadata, error)
func (UnixFSMetadata) AsBool ¶
func (UnixFSMetadata) AsBool() (bool, error)
func (UnixFSMetadata) AsBytes ¶
func (UnixFSMetadata) AsBytes() ([]byte, error)
func (UnixFSMetadata) AsFloat ¶
func (UnixFSMetadata) AsFloat() (float64, error)
func (UnixFSMetadata) AsInt ¶
func (UnixFSMetadata) AsInt() (int64, error)
func (UnixFSMetadata) AsString ¶
func (UnixFSMetadata) AsString() (string, error)
func (UnixFSMetadata) IsAbsent ¶
func (UnixFSMetadata) IsAbsent() bool
func (UnixFSMetadata) IsNull ¶
func (UnixFSMetadata) IsNull() bool
func (UnixFSMetadata) Kind ¶
func (UnixFSMetadata) Kind() ipld.Kind
func (UnixFSMetadata) Length ¶
func (UnixFSMetadata) Length() int64
func (UnixFSMetadata) ListIterator ¶
func (UnixFSMetadata) ListIterator() ipld.ListIterator
func (UnixFSMetadata) LookupByIndex ¶
func (UnixFSMetadata) LookupByIndex(idx int64) (ipld.Node, error)
func (UnixFSMetadata) LookupByNode ¶
func (UnixFSMetadata) LookupBySegment ¶
func (n UnixFSMetadata) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)
func (UnixFSMetadata) LookupByString ¶
func (n UnixFSMetadata) LookupByString(key string) (ipld.Node, error)
func (UnixFSMetadata) MapIterator ¶
func (n UnixFSMetadata) MapIterator() ipld.MapIterator
func (UnixFSMetadata) Prototype ¶
func (UnixFSMetadata) Prototype() ipld.NodePrototype
func (UnixFSMetadata) Representation ¶
func (n UnixFSMetadata) Representation() ipld.Node
func (UnixFSMetadata) Type ¶
func (UnixFSMetadata) Type() schema.Type
type UnixTime ¶
type UnixTime = *_UnixTime
UnixTime matches the IPLD Schema type "UnixTime". It has Struct type-kind, and may be interrogated like map kind.
func DecodeUnixTime ¶
func (UnixTime) ListIterator ¶
func (UnixTime) ListIterator() ipld.ListIterator
func (UnixTime) LookupBySegment ¶
func (UnixTime) MapIterator ¶
func (n UnixTime) MapIterator() ipld.MapIterator
func (UnixTime) Prototype ¶
func (UnixTime) Prototype() ipld.NodePrototype
func (UnixTime) Representation ¶
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
quick
Package quickbuilder is designed as a replacement for the existing ipfs-files constructor for a simple way to generate synthetic directory trees.
|
Package quickbuilder is designed as a replacement for the existing ipfs-files constructor for a simple way to generate synthetic directory trees. |