Documentation ¶
Overview ¶
Package os provides a platform-independent interface to operating system functionality.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Copy ¶ added in v0.7.0
Copy copies src content into dst. If dst doesn't exists, it will be created. src mode will override dst mode. Only file-file or directory-directory operations should be performed.
func CopyDir ¶ added in v0.7.0
CopyDir copies src content recursively into dst, if dst doesn't exists it will be created. mode will be the new dst mode.
func CopyFile ¶ added in v0.7.0
CopyFile copies src content into dst, if dst exists it will be truncated. mode will be the new dst mode.
func NewCopyError ¶ added in v0.7.0
NewCopyError creates a CopyError.
Types ¶
Click to show internal directories.
Click to hide internal directories.