osutil

package
v1.4.42 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetUserHomeDir

func GetUserHomeDir() (string, error)

GetUserHomeDir returns the home directory of the current user If the process is run as sudo, it will return the home directory of the sudo user ie. the original user (not root), based on the SUDO_USER env var

Types

This section is empty.

Jump to

Keyboard shortcuts

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