Skip to main content

resolve_memory_url_legacy

Function resolve_memory_url_legacy 

Source
pub fn resolve_memory_url_legacy(
    url: &str,
    memory_root: &Path,
) -> Option<String>
Expand description

Legacy disk-rooted resolver. Returns None on URL parse failure or when the candidate file is not within memory_root.

New code MUST use MemoryProtocolHandler::resolve_memory_url; the Foundation v1 host never calls this function in production. It lives here only so pre-Foundation callers (unit tests, hosts without a running oxibrain daemon) continue to compile.