osx

package
v0.0.0-...-dc5530c Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2016 License: MIT Imports: 8 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Chown

func Chown(name string, uid, gid int) (err error)

Recursive chown

func CopyFile

func CopyFile(dst, src string) (err error)

CopyFile makes a copy of a file preserving its access flags

func Executable

func Executable() (string, error)

Executable returns an absolute path that can be used to re-invoke the current program. It may not be valid after the current program exits.

func ExecutableDir

func ExecutableDir() (string, error)

Returns same path as Executable, returns just the folder path. Excludes the executable name and any trailing slash.

Types

This section is empty.

Directories

Path Synopsis
Drop in replacement for the os/user package.
Drop in replacement for the os/user package.

Jump to

Keyboard shortcuts

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