Expand occurrences of the $topdir interpolation in a string.
Moduleghc-lib-parser-9.14.1.20251220GHC2021
GHC.SysTools.BaseDir
Synopsis
- value expandTopDir
- value expandToolDir
- value findTopDir
- value findToolDir
- value tryFindTopDir
- Packageghc-lib-parser-9.14.1.20251220
- Exports5
- LanguageGHC2021
- LicenceBSD-3-Clause
- SourceBaseDir.hs
value
expandToolDir Expand occurrences of the $tooldir interpolation in a string
on Windows, leave the string untouched otherwise.
Returns a Unix-format path pointing to TopDir.