System.Unix.FilePath

Unixutils-1.54.1: A crude interface between Haskell and Unix-like operating systems

Safe Haskell | Safe
Language | Haskell98

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 -> FilePath #

Use dropFileName

baseName :: FilePath -> String #

Use takeFileName

realpath :: FilePath -> IO FilePath #

resolve all references to ., .., extra slashes, and symlinks

(<++>) :: FilePath -> FilePath -> FilePath #

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