rootcheck

package
v6.9.7 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package rootcheck provides small OS-aware helpers for permission-sensitive tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsRootUser

func IsRootUser() bool

IsRootUser reports whether the current process is running as root.

Types

This section is empty.

Jump to

Keyboard shortcuts

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