IPFS is a global, versioned, peer-to-peer filesystem
Package Files ¶
const ApiVersion = "/go-ipfs/" + CurrentVersionNumber + "/"
const CurrentVersionNumber = "0.6.0"
CurrentVersionNumber is the current application's version literal
var CurrentCommit string
CurrentCommit is the current git commit, this is set as a ldflag in the Makefile
var UserAgent = "go-ipfs/" + CurrentVersionNumber + "/" + CurrentCommit
UserAgent is the libp2p user agent used by go-ipfs.
Note: This will end in `/` when no commit is available. This is expected.