Structs§
Functions§
- ensure_
registry - Ensure at least one registry is available.
- fetch_
all_ registries - Fetch registries for all configured sources.
- fetch_
doc - Fetch a single doc. Source must have name + (url or path).
- fetch_
doc_ full - Fetch all files in an entry directory. Returns vec of (filename, content).
- fetch_
full_ bundle - Download full bundle for a remote source.
- fetch_
remote_ registry - Fetch registry for a single remote source.
- verify_
content_ hash - Verify fetched content against an expected SHA-256 hash. Returns Ok(content) if hash matches or no hash was provided. Returns Err if hash mismatch (content tampering detected).