HGamer3D-Data-0.3.0: Game Engine for the Haskell Programmer - Data Definitions and Utilities

Safe HaskellNone

HGamer3D.Util.FileLocation

Contents

Description

Utility to provide file location information to other parts of HGamer3D

Synopsis

Directories relative to the user-related application directory for HGamer3D

getAppMediaDirectory :: IO [Char]Source

path of media, relative to user app dir for HGamer3D

getAppConfigDirectory :: IO [Char]Source

path of configuration, relative to user app dir for HGamer3D

getAppLibDirectory :: IO [Char]Source

path of libraries, relative to user app dir for HGamer3D

Directories relative to the executable (prog path)

getExeMediaDirectory :: IO [Char]Source

path of media, relative to executable

getExeConfigDirectory :: IO [Char]Source

path of configuration, relative to executable

getExeLibDirectory :: IO [Char]Source

path of libraries, relative to executable

General utilities for path handling and finding files

osSep :: [Char]Source

path separator for the filesystem

createDir :: FilePath -> IO ()Source

create a directory

findFileInDirs :: [Char] -> [[Char]] -> IO (Maybe FilePath)Source

find a file by searching in multiple directories