pub fn handle_db_versioning(
base_path: &Path,
version_info: &GitVersionInfo<'_>,
is_ci: bool,
) -> Result<PathBuf>Expand description
Given a base path, creates a version directory for the given version_info. Automatically
cleans up old/stale databases.
Environment Variables
TURBO_ENGINE_VERSION: Forces use of a specific database version.TURBO_ENGINE_IGNORE_DIRTY: Enable filesystem cache in a dirty git repository. Otherwise a temporary directory is created.TURBO_ENGINE_DISABLE_VERSIONING: Ignores versioning and always uses the same “unversioned” database when set.