shared

package
v0.0.0-...-e2aa35b Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2026 License: Apache-2.0 Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package shared is the one shared leaf package of the core module, for small code that more than one component needs.

Import rule: it may import only the standard library and the api module (getpumi.dev/pumi/api). Any package in the core module may import it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Refusals

func Refusals(refusals []*harnessv1.Refusal) string

Refusals names each of the refusals that a harness reported, in order and separated by "; ", such as "editing the path README.md; running the command rm -rf /", for the log and the question of an escalation (decision 0249). It returns "" for none.

func Version

func Version() string

Version returns the version of the main module that the Go toolchain recorded in the binary. `go build` in a git checkout records the tag or a pseudo-version for the commit, with "+dirty" when the tree has changes.

func WriteVersion

func WriteVersion(w io.Writer, binary string) error

WriteVersion writes one line with the binary's name and its version.

Types

This section is empty.

Jump to

Keyboard shortcuts

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