Skip to main content

resolve_engine_for_data_dir_from_env

Function resolve_engine_for_data_dir_from_env 

Source
pub fn resolve_engine_for_data_dir_from_env(
    data_dir: &Path,
) -> Result<Option<StorageEngine>, PortError>
Expand description

Resolves the engine for a particular data directory.

An explicit environment choice is always authoritative. With no choice, an existing store is opened as stamped; a fresh store uses SQLite.