Skip to main content

app_local_database_artifact_path

Function app_local_database_artifact_path 

Source
pub fn app_local_database_artifact_path(
    app_root: &Path,
    runtime_conf_path: Option<&Path>,
    app_id: &str,
) -> Result<Option<PathBuf>, DatabaseError>
Expand description

Returns an app’s external file only when its configured adapter owns a local artifact. Remote databases and file-backed apps do not claim an unused inherited database path.