package
1.56.20
Repository: https://github.com/ynowk/kernal.git
Documentation: pkg.go.dev

# Functions

AppendToFile appends content to a file.
Cleanup removes leftover folders.
CopyFile copy a file.
CopyFolder copy a folder.
CreateFile creates / overwrites a file with content.
CreateFolder to create a folder and get its path.
DownloadFile will download a url to a local file.
Exists reports whether the named file or directory exists.
FileContains reports if a file contains text.
FindElectronAppFolder returns the app electron folder.
FormatUnixPath to format a path for unix.
FormatWindowsPath to format a path for windows.
IsDirEmpty determines if directory is empty.
PathJoin to join paths.
RemoveContents remove contents of a specified directory.
Replace text in file.
ReplaceByPrefix replaces line in file starting with a specific prefix.
RoamingPath returns the user roaming path through APPDATA env var.
SetFileAttributes set attributes to a file.
StartMenuPath returns the user start menu path.
WriteToFile writes content to a file.