Function deltachat::tools::get_abs_path

source ·
pub(crate) fn get_abs_path(context: &Context, path: &Path) -> PathBuf
Expand description

Expand paths relative to $BLOBDIR into absolute paths.

If path starts with “$BLOBDIR”, replaces it with the blobdir path. Otherwise, returns path as is.