Add note in docs about dropTrailingPathSeparator
This commit is contained in:
parent
94a5252ff5
commit
44d9e02cc2
@ -197,6 +197,10 @@ mkRelFile s =
|
|||||||
-- Conversion
|
-- Conversion
|
||||||
|
|
||||||
-- | Convert to a 'FilePath' type.
|
-- | Convert to a 'FilePath' type.
|
||||||
|
--
|
||||||
|
-- All directories have a trailing slash, so if you want no trailing
|
||||||
|
-- slash, you can use 'System.FilePath.dropTrailingPathSeparator' from
|
||||||
|
-- the filepath package.
|
||||||
toFilePath :: Path b t -> FilePath
|
toFilePath :: Path b t -> FilePath
|
||||||
toFilePath (Path l) = l
|
toFilePath (Path l) = l
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user