version

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package version reports the build identity of this DevProof binary.

Build identity is diagnostic and provenance material only. It never reaches canonical artifact bytes: two builds of different DevProof versions that package the same canonical tree must produce the same subject digest (DP-002, DP-012).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Commit

func Commit() string

Commit reports the source revision, or "unknown" when it cannot be established.

func UserAgent

func UserAgent() string

UserAgent is the value sent on outbound registry and Git requests. It names the tool and version only: never a hostname, username, or repository.

func Version

func Version() string

Version reports the release version, such as "v1.2.3", or "dev" for an untagged build.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL