Skip to main content

normalize_storage_location

Function normalize_storage_location 

Source
pub fn normalize_storage_location(path: &str) -> Result<String>
Expand description

Resolves a storage location for overlap checks without creating files.

Local paths follow existing symlinks and normalize missing suffixes. Remote locations use the same URL parsing as their storage backend.

ยงErrors

Returns an error if the URI is invalid or an existing local prefix cannot be resolved.