package
0.29.0
Repository: https://github.com/ipfs/kubo.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

CheckIpfsDir gets the ipfs directory and checks that the directory exists.
DistVersions returns all versions of the specified distribution, that are available on the distriburion site.
No description provided by the author
FetchBinary downloads an archive from the distribution site and unpacks it.
GetDistPathEnv returns the IPFS path to the distribution site, using the value of environ variable specified by envIpfsDistPath.
GetMigrationFetcher creates one or more fetchers according to downloadSources,.
IpfsDir returns the path of the ipfs directory.
LatestDistVersion returns the latest version, of the specified distribution, that is available on the distribution site.
No description provided by the author
NewHttpFetcher creates a new [HttpFetcher].
NewLimitReadCloser returns a new io.ReadCloser with the reader wrappen in a io.LimitedReader limited to reading the amount specified.
NewMultiFetcher creates a MultiFetcher with the given Fetchers.
ReadMigrationConfig reads the Migration section of the IPFS config, avoiding reading anything other than the Migration section.
RepoVersion returns the version of the repo in the ipfs directory.
RunMigration finds, downloads, and runs the individual migrations needed to migrate the repo from its current version to the target version.
WriteRepoVersion writes the specified repo version to the repo located in ipfsDir.

# Constants

fs-repo-14-to-15 v1.0.1.
Latest distribution path.

# Variables

DownloadDirectory can be set as the location for FetchBinary to save the downloaded archive file in.

# Structs

HttpFetcher fetches files over HTTP using verifiable CAR archives.
MultiFetcher holds multiple Fetchers and provides a Fetch that tries each until one succeeds.
No description provided by the author

# Interfaces

No description provided by the author