Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Synopsis
- relativeTo :: FilePath -> FilePath -> FilePath
Documentation
:: FilePath | The path to be relative to. Note that the final file-name is
ignored: |
-> FilePath | The path to relativise. |
-> FilePath |
Like makeRelative
, but will introduce ..
segments (and hence will misbehave in the presence of symlinks).
If the path being relativised is identical to the root path, then this will return the empty string.