package
3.9.6
Repository: https://github.com/errata-ai/vale.git
Documentation: pkg.go.dev

# Functions

AbsPath returns the absolute path of `path`.
DeterminePath determines the path of `keyPath` based on `configPath`.
FileExists determines if the path given by `filename` exists.
FileNameWithoutExt returns the filename without its extension.
IsDir determines if the path given by `filename` is a directory.
IsLinux returns true if the current OS is Linux.
IsMac returns true if the current OS is macOS.
IsUnix returns true if the current OS is either macOS or Linux.
IsWindows returns true if the current OS is Windows.
Mkdir creates a directory at the given path.
Name returns the current OS.
NormalizePath expands a tilde and returns the absolute path of `path`.
PlatformAndArch returns the current platform and architecture.
ReplaceExt replaces the extension of `fp` with `ext` if the extension of `fp` is in `formats`.
Unarchive extracts a ZIP archive to a destination directory.
Walk extends filepath.Walk to also follow symlinks.
Which checks for the existence of any command in `cmds`.