# README
folderutil
The package contains various helpers to interact with folders
UserConfigDirOrDefault
UserConfigDirOrDefault returns the default root directory to use for user-specific configuration data. Users should create their own application-specific subdirectory within this one and use that.
On Unix systems, it returns $XDG_CONFIG_HOME as specified by https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html if non-empty, else $HOME/.config. On Darwin, it returns $HOME/Library/Application Support. On Windows, it returns %AppData%. On Plan 9, it returns $home/lib.
If the location cannot be determined (for example, $HOME is not defined), then it will return given value as default.
# Functions
AppConfigDirOrDefault returns the app config directory.
GetFiles within a folder.
HomeDirectory returns the home directory or defaultDirectory in case of error.
No description provided by the author
No description provided by the author
NewPathInfo returns info about a given path.
SyncDirectory sync all files and non-empty directories from source to destination folder optionally removes source directory and removes source.
UserConfigDirOrDefault returns the user config directory or defaultConfigDir in case of error.
# Constants
No description provided by the author
No description provided by the author
# Variables
Remove source directory after successful sync.
Separator evaluated at runtime.