The path module specification.
Modulehslua-module-path-1.1.1Haskell2010
HsLua.Module.Path
Lua module to work with file paths.
- 16 values
- Packagehslua-module-path-1.1.1
- Exports16
- LanguageHaskell2010
- LicenceMIT
- SourcePath.hs
Module
1 declarationFields
2 declarationsWrapper for pathSeparator.
Wrapper for searchPathSeparator.
Path manipulation
13 declarationsAdds an extension to a file path. Wraps addExtension.
Join two paths with a directory separator. Wraps combine.
See Path.takeDirectory
See Path.takeFilename
See Path.isAbsolute
See Path.isRelative
See Path.joinPath
See Path.normalise
See Path.splitDirectories.
Note that this does not wrap splitPath, as that function
adds trailing slashes to each directory, which is often inconvenient.
See Path.splitExtension
Wraps function splitSearchPath.