host

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2026 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package host runs typed Debian utilities. It never evaluates a shell command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckDebian

func CheckDebian() error

func Lock

func Lock(path string) (func(), error)

Types

type Commands

type Commands struct{}

func (Commands) Run

func (Commands) Run(ctx context.Context, name string, args ...string) ([]byte, error)

type Runner

type Runner interface {
	Run(context.Context, string, ...string) ([]byte, error)
}

Jump to

Keyboard shortcuts

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