yi-core-0.19.4: Yi editor core library

Safe Haskell | None
Language | Haskell2010

Yi.Paths

Synopsis

- getEvaluatorContextFilename :: MonadBase IO m => m FilePath
- getConfigFilename :: MonadBase IO m => m FilePath
- getConfigModules :: MonadBase IO m => m FilePath
- getPersistentStateFilename :: MonadBase IO m => m FilePath
- getConfigDir :: MonadBase IO m => m FilePath
- getConfigPath :: MonadBase IO m => FilePath -> m FilePath
- getCustomConfigPath :: MonadBase IO m => m FilePath -> FilePath -> m FilePath
- getDataPath :: MonadBase IO m => FilePath -> m FilePath

# 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.

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

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

Get path to Yi history that stores state between runs.

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

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.