package
1.32.0-rc2
Repository: https://github.com/filecoin-project/lotus.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

FromCid safely converts a cid.Cid type to a Path type.
FromSegments returns a path given its different segments.
FromString safely converts a string type to a Path type.
Join joins strings slices using /.
ParseCidToPath takes a CID in string form and returns a valid ipfs Path.
ParsePath returns a well-formed ipfs Path.
SplitAbsPath clean up and split fpath.
SplitList splits strings usings /.

# Type aliases

A Path represents an ipfs content path: - /<cid>/path/to/file - /ipfs/<cid> - /ipns/<cid>/path/to/folder - etc.