yi-0.11.0: The Haskell-Scriptable Editor

Safe HaskellSafe-Inferred

Yi.Paths

Synopsis

Documentation

getEvaluatorContextFilename :: MonadBase IO m => m FilePathSource

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

getConfigFilename :: MonadBase IO m => m FilePathSource

Get Yi master configuration script.

getConfigModules :: MonadBase IO m => m FilePathSource

getArticleDbFilename :: MonadBase IO m => m FilePathSource

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

getPersistentStateFilename :: MonadBase IO m => m FilePathSource

Get path to Yi history that stores state between runs.

getConfigDir :: MonadBase IO m => m FilePathSource

getConfigPath :: MonadBase IO m => FilePath -> m FilePathSource

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 FilePathSource

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 FilePathSource

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