matterhorn-50200.17.0: Terminal client for the Mattermost chat system
Safe HaskellNone
LanguageHaskell2010

Matterhorn.FilePaths

Synopsis

Documentation

locateConfig :: FilePath -> IO (Maybe FilePath) Source #

Find a specified configuration file by looking in all of the supported locations.

xdgSyntaxDir :: IO FilePath Source #

Get the XDG path to the user-specific syntax definition directory. The path does not necessarily exist.

userEmojiJsonPath :: IO FilePath Source #

Get the XDG path to the user-specific emoji JSON file. The path does not necessarily exist.

bundledEmojiJsonPath :: IO FilePath Source #

Get the emoji JSON path relative to the development binary location or the release binary location.

data Script Source #

Instances

Instances details
Eq Script Source # 
Instance details

Defined in Matterhorn.FilePaths

Methods

(==) :: Script -> Script -> Bool #

(/=) :: Script -> Script -> Bool #

Read Script Source # 
Instance details

Defined in Matterhorn.FilePaths

Show Script Source # 
Instance details

Defined in Matterhorn.FilePaths

getAllScripts :: IO ([FilePath], [FilePath]) Source #

This returns a list of valid scripts, and a list of non-executable scripts.