Skip to main content

data_dir

Function data_dir 

Source
pub fn data_dir(
    config: &Config,
    env: &BTreeMap<String, String>,
) -> Result<PathBuf, AppError>
Expand description

Where task logs (and standalone’s SQLite file) go: [worker] data_dir, else $XDG_DATA_HOME/schedr, else ~/.local/share/schedr.

§Errors

AppError::BadArgument when none of them is set.