Documentation ¶
Overview ¶
Package osutil provides utilities functions for the operating system.
Index ¶
- func AbsPath(path string) (abspath string, err error)
- func ChkDir(dir string) (exists, isDir bool, err error)
- func CopyFile(dest, src string, createDirs bool) (err error)
- func CopyFileToWriter(dest io.Writer, src string) (err error)
- func IsTerminal(fd int) bool
- func MkDir(dir string) (err error)
- func OpenInApplication(uri string) error
- func SymlinkTarget(fi os.FileInfo, fpath string) (fpath2 string, changed bool, err error)
- func WriteFile(dest string, contents []byte, createDirs bool) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsTerminal ¶
func OpenInApplication ¶
func SymlinkTarget ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.