util

package
v0.0.0-...-93524e3 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsMountpoint

func IsMountpoint(path string) bool

IsMountpoint checks if the target path is a mount point

func OutputErr

func OutputErr(err error) error

OutputErr takes an error from exec.Command().Output() and tries generate an error with stderr details

func RunCmdSync

func RunCmdSync(cmdName string, args ...string) error

Synchronously invoke a command, propagating stdout and stderr to the current process's stdout and stderr

Types

This section is empty.

Jump to

Keyboard shortcuts

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