Skip to main content

resolve_pointer

Function resolve_pointer 

Source
pub async fn resolve_pointer(
    config: &HistorySinkConfig,
    handle: &PointerHandle,
) -> Result<Vec<u8>, Fault>
Expand description

Fetch the bytes referenced by a PointerHandle from the MinIO sink.

Returns a typed Fault so callers get the same reason-code surface ClawVM §3 prescribes for context-construction failures (silent empty returns are forbidden).

§Errors

§Range semantics

When byte_range is Some((start, end)), the returned slice is truncated to that half-open range within the full object body. Ranges that fall off the end are clamped to object.len().