manatee-core-0.0.1: The core of Manatee.

Manatee.Toolkit.General.FilePath

Synopsis

Documentation

fileIntersectEnd :: FilePath -> FilePath -> FilePathSource

Intersect two file path from end.

getUpperDirectoryName :: FilePath -> FilePathSource

Get upper directory name.

getUpperDirectory :: FilePath -> FilePathSource

Get upper directory path.

expandBacktickFilePath :: FilePath -> IO FilePathSource

Try to expand file path that start with backtick. Just return original one when file path not start with backtick.

expandFileName :: FilePath -> IO FilePathSource

Expand file name, including expand backtick and fill blank in filepath.

expandFilePath :: FilePath -> IO FilePathSource

Expand file path.

fillFilePathBlank :: FilePath -> FilePathSource

Fill blank in filepath with `\ `.

filterDotDirectory :: [FilePath] -> [FilePath]Source

Filter dot directory.

filterDotDirectoryApply :: (a -> FilePath) -> [a] -> [a]Source

Filter dot directory apply list.

notDotDirectory :: FilePath -> BoolSource

File not directory.

takeFileNameExceptRoot :: FilePath -> FilePathSource

Like takeFileName, but won't return empty when filepath is root path / Instead return /.