Skip to main content

validate_db_path

Function validate_db_path 

Source
pub fn validate_db_path(raw: &str) -> Result<PathBuf, ConfigError>
Expand description

Validate and expand a storage.db_path value.

Rejects empty, whitespace-only, and directory paths with a clear error.