package
1.13.1
Repository: https://github.com/react-vue-devel/moby.git
Documentation: pkg.go.dev

# Functions

CheckSystemDriveAndRemoveDriveLetter verifies that a path, if it includes a drive letter, is the system drive.
Chtimes changes the access time and modified time of a file at the given path.
CommandLineToArgv should not be used on Unix.
CreateSequential creates the named file with mode 0666 (before umask), truncating it if it already exists.
FromStatT exists only on linux, and loads a system.StatT from a syscal.Stat_t.
GetExitCode returns the ExitStatus of the specified error if its type is exec.ExitError, returns 0 and an error otherwise.
IsAbs is a platform-specific wrapper for filepath.IsAbs.
Lgetxattr retrieves the value of the extended attribute identified by attr and associated with the given path in the file system.
Lsetxattr sets the value of the extended attribute identified by attr and associated with the given path in the file system.
Lstat takes a path to a file and returns a system.StatT type pertaining to that file.
LUtimesNano is used to change access and modification time of the specified path.
Mkdev is used to build the value of linux devices (in /dev/) which specifies major and minor number of the newly created device special file.
MkdirAll creates a directory named path along with any necessary parents, with permission specified by attribute perm for all dir created.
MkdirAllWithACL is a wrapper for MkdirAll that creates a directory ACL'd for Builtin Administrators and Local System.
Mknod creates a filesystem node (file, device special file or named pipe) named path with attributes specified by mode and dev.
OpenFileSequential is the generalized open call; most users will use Open or Create instead.
OpenSequential opens the named file for reading.
ProcessExitCode process the specified error and returns the exit status code if the error was of type exec.ExitError, returns nothing otherwise.
ReadMemInfo retrieves memory statistics of the host system and returns a MemInfo type.
Stat takes a path to a file and returns a system.StatT type pertaining to that file.
Umask sets current process's file mode creation mask to newmask and returns oldmask.
Unmount is a platform-specific helper function to call the unmount syscall.

# Constants

DefaultPathEnv is unix style list of directories to search for executables.

# Variables

ErrNotSupportedPlatform means the platform is not supported.

# Structs

MemInfo contains memory statistics of the host system.
StatT type contains status of a file.