Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DefaultDirMode grants `rwx------`. DefaultDirMode = 0700 // DefaultFileMode grants `rw-------`. DefaultFileMode = 0600 )
Variables ¶
This section is empty.
Functions ¶
func EnsureDirWritable ¶
EnsureDirWritable ensures that path is a writable directory. Will attempt to create a new directory if path does not exist.
func NoPathExists ¶
func NormalizePath ¶
NormalizePath ensures that name is an absolute path. Environment variables (and the ~ string) are expanded.
func PathExists ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.