Documentation
ยถ
Overview ยถ
IPFS is a global, versioned, peer-to-peer filesystem
Index ยถ
Constants ยถ
View Source
const ApiVersion = "/kubo/" + CurrentVersionNumber + "/" //nolint
View Source
const CurrentVersionNumber = "0.42.0"
CurrentVersionNumber is the current application's version literal.
View Source
const RepoVersion = 18
RepoVersion is the version number that we are currently expecting to see.
Variables ยถ
View Source
var CurrentCommit string
CurrentCommit is the current git commit, this is set as a ldflag in the Makefile.
Functions ยถ
func GetUserAgentVersion ยถ added in v0.14.0
func GetUserAgentVersion() string
GetUserAgentVersion is the libp2p user agent used by go-ipfs.
func ImplicitAgentSuffix ยถ added in v0.42.0
func ImplicitAgentSuffix() string
ImplicitAgentSuffix returns a Version.AgentSuffix default derived from the build origin. It prefers the Makefile-injected URL (covers forks that keep the upstream `module` line) and falls back to debug.ReadBuildInfo's main module path (covers `go install` and forks that renamed their module). Returns "" for upstream builds.
func SetUserAgentSuffix ยถ added in v0.14.0
func SetUserAgentSuffix(suffix string)
Types ยถ
type VersionInfo ยถ added in v0.14.0
func GetVersionInfo ยถ added in v0.14.0
func GetVersionInfo() *VersionInfo
Directories
ยถ
| Path | Synopsis |
|---|---|
|
blocks
|
|
|
blockstoreutil
Package blockstoreutil provides utility functions for Blockstores.
|
Package blockstoreutil provides utility functions for Blockstores. |
|
boxo
|
|
|
autoconf
module
|
|
|
client
|
|
|
cmd
|
|
|
ipfs
command
|
|
|
ipfs/kubo
cmd/ipfs/kubo implements the primary CLI binary for kubo
|
cmd/ipfs/kubo implements the primary CLI binary for kubo |
|
ipfswatch
command
|
|
|
package config implements the ipfs config file datastructures and utilities.
|
package config implements the ipfs config file datastructures and utilities. |
|
Package core implements the IpfsNode object and related methods.
|
Package core implements the IpfsNode object and related methods. |
|
commands
Package commands implements the ipfs command interface
|
Package commands implements the ipfs command interface |
|
coreapi
**NOTE: this package is experimental.**
|
**NOTE: this package is experimental.** |
|
corehttp
Package corehttp provides utilities for the webui, gateways, and other high-level HTTP interfaces to IPFS.
|
Package corehttp provides utilities for the webui, gateways, and other high-level HTTP interfaces to IPFS. |
|
coreiface
Package iface defines IPFS Core API which is a set of interfaces used to interact with IPFS nodes.
|
Package iface defines IPFS Core API which is a set of interfaces used to interact with IPFS nodes. |
|
shutdown
Package shutdown tracks daemon-wide graceful shutdown state.
|
Package shutdown tracks daemon-wide graceful shutdown state. |
|
fuse
|
|
|
fusetest
Package fusetest provides test helpers shared across FUSE test packages.
|
Package fusetest provides test helpers shared across FUSE test packages. |
|
ipns
Package ipns implements a FUSE filesystem that interfaces with IPNS, the naming system for IPFS.
|
Package ipns implements a FUSE filesystem that interfaces with IPNS, the naming system for IPFS. |
|
mount
package mount provides a simple abstraction around a mount point
|
package mount provides a simple abstraction around a mount point |
|
readonly
package fuse/readonly implements a fuse filesystem to access files stored inside of ipfs.
|
package fuse/readonly implements a fuse filesystem to access files stored inside of ipfs. |
|
Package gc provides garbage collection for go-ipfs.
|
Package gc provides garbage collection for go-ipfs. |
|
internal
|
|
|
fusemount
Package fusemount provides internal helpers shared between the FUSE mount layer and the core API.
|
Package fusemount provides internal helpers shared between the FUSE mount layer and the core API. |
|
misc
|
|
|
fsrepo
package fsrepo
|
package fsrepo |
|
fsrepo/migrations/common
Package common contains common types and interfaces for file system repository migrations
|
Package common contains common types and interfaces for file system repository migrations |
|
fsrepo/migrations/fs-repo-16-to-17
command
Package main implements fs-repo-16-to-17 migration for IPFS repositories.
|
Package main implements fs-repo-16-to-17 migration for IPFS repositories. |
|
fsrepo/migrations/fs-repo-16-to-17/migration
package mg16 contains the code to perform 16-17 repository migration in Kubo.
|
package mg16 contains the code to perform 16-17 repository migration in Kubo. |
|
fsrepo/migrations/fs-repo-17-to-18
command
Package main implements fs-repo-17-to-18 migration for IPFS repositories.
|
Package main implements fs-repo-17-to-18 migration for IPFS repositories. |
|
fsrepo/migrations/fs-repo-17-to-18/migration
package mg17 contains the code to perform 17-18 repository migration in Kubo.
|
package mg17 contains the code to perform 17-18 repository migration in Kubo. |
|
test
|
|
|
api-startup
command
|
|
|
bench/bench_cli_ipfs_add
command
|
|
|
bench/offline_add
command
|
|
|
sharness/t0280-plugin-data
command
|
|
|
dependencies
module
|
|
|
thirdparty
|
|
|
Package tracing contains the tracing logic for go-ipfs, including configuring the tracer and helping keep consistent naming conventions across the stack.
|
Package tracing contains the tracing logic for go-ipfs, including configuring the tracer and helping keep consistent naming conventions across the stack. |
Click to show internal directories.
Click to hide internal directories.

