Help us shape the future of Go! Take the 2026 Go Developer Survey

executableimage

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package executableimage keeps executable selection tied to an executing image.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SameAs

func SameAs(path string) error

SameAs reports whether path still names the executing image. Atomic replacement counts as a change even for identical bytes; no content hashing is necessary.

func Self

func Self() (string, error)

Self returns a stable reference to this process's image. On platforms without procfs, a replaced pathname is a clean error before worker publication.

func Unchanged

func Unchanged() error

Unchanged checks the original executable pathname, including unpinned installs.

Types

This section is empty.

Jump to

Keyboard shortcuts

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