Documentation
¶
Overview ¶
Package system provides utilities for system-level operations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type System ¶
type System interface {
// CommandExists checks if a command is available in the system PATH.
CommandExists(name string) bool
// Getuid returns the numeric user ID of the caller.
Getuid() int
// Getgid returns the numeric group ID of the caller.
Getgid() int
}
System provides an interface for system-level operations.
Click to show internal directories.
Click to hide internal directories.