# Functions
CombinedContext creates a context that finishes when any of the provided signals finish.
ContextFromChan creates a context that finishes when the provided channel receives or is closed.
CopyFileWithMaxPerms copies the file at `srcPath` to `dstPath` and ensures that it has permissions that are no more permissive than the given ones.
CreateNewDir creates the specified dir (and returns an error if the dir already exists)
If dirPath is absolute then basePath is ignored.
CreateTemp creates a temporary file with the given file mode flags using the given name pattern.
@@TODO: everything about this is horrible.
No description provided by the author
EnsureDirAndMaxPerms ensures that the given path exists, that it's a directory, and that it has permissions that are no more permissive than the given ones.
EnsureFileMaxPerms ensures that the given file has permissions that are no more permissive than the given ones.
EnsureFilepathMaxPerms ensures that the file at the given filepath has permissions that are no more permissive than the given ones.
ExpandAndCheckPath parses/expands the given path and then verifies it's existence or non-existence, depending on autoCreate and returning the the expanded path.
No description provided by the author
GetExePath returns the pathname of the dir containing the host exe.
No description provided by the author
No description provided by the author
No description provided by the author
MakeFSFriendly makes a given string safe to use for a file system.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WriteFileWithMaxPerms writes `data` to `path` and ensures that the file has permissions that are no more permissive than the given ones.
# Variables
DefaultDirPerms expresses the default mode of dir creation.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WaitGroupChan creates a channel that closes when the provided sync.WaitGroup is done.
# Interfaces
No description provided by the author
# Type aliases
No description provided by the author