Documentation ¶
Overview ¶
Package osutil implements some OS utility functions.
Index ¶
Constants ¶
View Source
const ( DefaultFileMode os.FileMode = 0644 DefaultDirMode os.FileMode = 0755 )
Variables ¶
This section is empty.
Functions ¶
func CopyFile ¶ added in v1.2.0
CopyFile reads data from source file and writes to target file. If the target file already exists, it is overwritten.
func WaitForInterrupt ¶
func WaitForInterrupt()
WaitForInterrupt blocks until current process receives SIGINT.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.