package
23.2.20+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
ExceedsPermissions returns true if the passed os.FileMode represents a more stringent set of permissions than the ACLInfo's mode.
ExitStatus returns the exit status contained within an exec.ExitError.
GetFileACLInfo returns an ACLInfo that has the UID and GID populated from the system specific file information.
InterruptSelf sends Interrupt to the process itself.
IsAddrInUse returns true if an error is an EADDRINUSE error.
IsCrossDeviceLinkErrno checks whether the given error object (as extracted from an *os.LinkError) is a cross-device link/rename error.
IsErrConnectionRefused returns true if an error is a "connection refused" error.
IsErrConnectionReset returns true if an error is a "connection reset by peer" error.
IsErrTimedOut returns true if an error is an ETIMEDOUT error.
ProcessIdentity returns a string describing the user and group that this process is running as.
RefreshSignaledChan returns a channel that will receive an os.Signal whenever the process receives a "refresh" signal (currently SIGHUP).
ResizeLargeFile resizes the file at the given path to be the provided length in bytes.
TerminateSelf sends SIGTERM to the process itself.
# Interfaces
ACLInfo represents access control information for a file in the filesystem.