FilePath package:ghc-lib-parser

File and directory names are values of type String, whose precise meaning is operating system dependent. Files can be opened, yielding a handle which can then be used to operate on the contents of that file.
O(n) Split a ShortText representing a file path into its components by separating on the file separator characters for this platform.
Normalise, escape and render a string representing a path e.g. "c:\whatever"
Same as addForeignSource, but expects to receive a path pointing to the foreign file instead of a String of its contents. Consider using this in conjunction with addTempFile. This is a good alternative to addForeignSource when you are trying to directly link in an object file.