package
0.0.0-20230620015642-8705ae581d71
Repository: https://github.com/rohitramu/kpm.git
Documentation: pkg.go.dev

# Functions

CopyDir recursively copies a directory from source to destination.
No description provided by the author
DirExists checks whether a directory exists and returns an error if it doesn't.
No description provided by the author
FileExists checks whether a file exists and returns an error if it doesn't.
GetAbsolutePath returns the absolute path of the provided path.
GetAbsolutePathOrDefault returns the absolute path of the provided path if it is not null, otherwise the absolute path of the default path.
GetAbsolutePathOrDefaultFunc returns the absolute path of the provided path if it is not null, otherwise the absolute path of the default path which is supplied by the default path function.
GetUserHomeDir returns the path to the home directory of the current user.
GetWorkingDir returns the current working directory.
ReadBytes returns the contents of the given file as a byte array.
ReadString returns the contents of the given file as a string.