Revision dc2715af68b93611a116b83fca90714e7c5cb50b authored by Adin Schmahmann on 21 July 2021, 16:52:52 UTC, committed by GitHub on 21 July 2021, 16:52:52 UTC
2 parent s 179d1d1 + 3b21fcf
Raw File
version.go
package ipfs

// CurrentCommit is the current git commit, this is set as a ldflag in the Makefile
var CurrentCommit string

// CurrentVersionNumber is the current application's version literal
const CurrentVersionNumber = "0.9.1"

const ApiVersion = "/go-ipfs/" + CurrentVersionNumber + "/"

// UserAgent is the libp2p user agent used by go-ipfs.
//
// Note: This will end in `/` when no commit is available. This is expected.
var UserAgent = "go-ipfs/" + CurrentVersionNumber + "/" + CurrentCommit
back to top