yi-core-0.17.1: Yi editor core library

Safe HaskellSafe
LanguageHaskell2010

Yi.Paths

Synopsis

Documentation

getEvaluatorContextFilename :: MonadBase IO m => m FilePath Source #

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

getConfigFilename :: MonadBase IO m => m FilePath Source #

Get Yi master configuration script.

getArticleDbFilename :: MonadBase IO m => m FilePath Source #

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

getPersistentStateFilename :: MonadBase IO m => m FilePath Source #

Get path to Yi history that stores state between runs.

getConfigPath :: MonadBase IO m => FilePath -> m FilePath Source #

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

getCustomConfigPath :: MonadBase IO m => m FilePath -> FilePath -> m FilePath Source #

Given an action that retrieves config path, and a path relative to it, this function joins the two together to create a config file path.

getDataPath :: MonadBase IO m => FilePath -> m FilePath Source #

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