Documentation ¶
Index ¶
Constants ¶
View Source
const UnixfsChunkSize uint64 = 1 << 20
View Source
const UnixfsLinksPerLevel = 1 << 10
Variables ¶
View Source
var Blue = "\033[34m"
View Source
var Cyan = "\033[36m"
View Source
var Gray = "\033[37m"
View Source
var Green = "\033[32m"
View Source
var Purple = "\033[35m"
View Source
var Red = "\033[31m"
View Source
var Reset = "\033[0m"
View Source
var White = "\033[97m"
View Source
var Yellow = "\033[33m"
Functions ¶
func BuildFileNode ¶ added in v1.0.2
func PrettyEncode ¶ added in v1.0.2
PrettyEncode Encoding the data into JSON format and writing it to the output stream.
Types ¶
type CidMapValue ¶ added in v1.0.2
type FSBuilder ¶ added in v1.0.2
type FSBuilder struct {
// contains filtered or unexported fields
}
func NewFSBuilder ¶ added in v1.0.2
func NewFSBuilder(root *dag.ProtoNode, ds ipld.DAGService) *FSBuilder
Click to show internal directories.
Click to hide internal directories.