runtimeartifact

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2026 License: MIT Imports: 9 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 runtimeartifact identifies executable bytes used by in-process plugin registrations. It deliberately does not infer a source revision: the SHA-256 is the exact code identity, while source provenance remains a separate benchmark concern.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Executable

func Executable(id string) (inspect.ArtifactIdentity, error)

Executable hashes the image the kernel mapped for this process. Opening /proc/self/exe is materially different from resolving os.Executable and reopening that pathname: package replacement can rename a different file over the launch path, while this magic link continues to name the mapped inode.

func File

func File(id, path string) (inspect.ArtifactIdentity, error)

File hashes one exact regular-file payload. It is exported primarily for launchers that execute a separately staged implementation and for tests; callers remain responsible for opening that path without a mutable alias.

Types

This section is empty.

Jump to

Keyboard shortcuts

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