# Functions
No description provided by the author
CurLeafDir returns the leaf dir of a nested directory.
FilepathLeaf returns the last element of a path.
FilterFilepaths filters a slice of filepaths using various options.
Trim trims the provided filepath using `os.PathSeparator`.
TrimExt removes the extension, including a trailing period.
TrimLeft left trims the provided filepath using `os.PathSeparator`.
TrimRight right trims the provided filepath using `os.PathSeparator`.
UserToAbsolute converts ~ directories to absolute directories in filepaths.