Unixutils-1.22: A crude interface between Haskell and Unix-like operating systemsSource codeContentsIndex
System.Unix.FilePath
Description
The function splitFileName is taken from missingh, at the moment missingh will not build under sid.
Synopsis
dirName :: FilePath -> FilePath
baseName :: FilePath -> String
realpath :: FilePath -> IO FilePath
(<++>) :: FilePath -> FilePath -> FilePath
Documentation
dirName :: FilePath -> FilePathSource

Concatenate two paths, making sure there is exactly one path separator.

Use dropFileName

baseName :: FilePath -> StringSource
Use takeFileName
realpath :: FilePath -> IO FilePathSource
resolve all references to ., .., extra slashes, and symlinks
(<++>) :: FilePath -> FilePath -> FilePathSource
Produced by Haddock version 2.6.1