yi-0.7.1: The Haskell-Scriptable Editor

Safe HaskellSafe-Inferred

Yi.Paths

Synopsis

Documentation

getEvaluatorContextFilename :: MonadIO m => m FilePathSource

Get path to environment file that defines namespace used by Yi command evaluator.

getConfigFilename :: MonadIO m => m FilePathSource

Get Yi master configuration script.

getArticleDbFilename :: MonadIO m => m FilePathSource

Get articles.db database of locations to visit (for Yi.IReader.)

getPersistentStateFilename :: MonadIO m => m FilePathSource

Get path to Yi history that stores state between runs.

getConfigDir :: MonadIO m => m FilePathSource

getConfigPath :: MonadIO m => FilePath -> m FilePathSource

Given a path relative to application configuration directory, this function finds a path to a given configuration file.

getDataPath :: MonadIO m => FilePath -> m FilePathSource

Given a path relative to application data directory, this function finds a path to a given data file.