src/client/version.go
func (c APIClient) Version() (string, error) {
	v, err := c.VersionAPIClient.GetVersion(c.Ctx(), &types.Empty{})
	if err != nil {
		return "", grpcutil.ScrubGRPC(err)
	}
	return version.PrettyPrintVersion(v), nil
}
func (c APIClient) Version() (string, error) {
	v, err := c.VersionAPIClient.GetVersion(c.Ctx(), &types.Empty{})
	if err != nil {
		return "", grpcutil.ScrubGRPC(err)
	}
	return version.PrettyPrintVersion(v), nil
}
func ( c APIClient ) Version ( ) ( string , error ) { v , err := c . VersionAPIClient . GetVersion ( c . Ctx ( ) , & types . Empty { } ) if err != nil { return " " , grpcutil . ScrubGRPC ( err ) } return version . PrettyPrintVersion ( v ) , nil }
// Version returns the version of pachd as a string.
Version returns the version of pachd as a string .