Documentation ¶
Overview ¶
Package xos provides cross-platform helper functions.
Index ¶
- func ArrangeExtraFiles(cmd *exec.Cmd, files ...*os.File) error
- func CreateNewProcessGroup() *syscall.SysProcAttr
- func IsAdminUser() (bool, error)
- func IsWindowsJunctionPoint(filename string) (ok bool, err error)
- func SameSocket(a, b interface{}) bool
- func SocketStat(path string) (interface{}, error)
- func WriteFile(filename string, data []byte, perm os.FileMode) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateNewProcessGroup ¶
func CreateNewProcessGroup() *syscall.SysProcAttr
func IsAdminUser ¶
func IsWindowsJunctionPoint ¶ added in v1.43.3
IsWindowsJunctionPoint reports whether a filename is a Windows junction point.
func SameSocket ¶
func SameSocket(a, b interface{}) bool
func SocketStat ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.