get_chunk_raw

Function get_chunk_raw 

Source
pub async fn get_chunk_raw(
    __arg0: State<AppState>,
    req: RequestState,
    __arg2: Path<(String, String, String)>,
) -> Response
Expand description

GET /releases/chunks/{prefix1}/{prefix2}/{hash}

Serves raw chunk bytes by SHA-256 hash from the bh/ directory. Chunks are stored compressed (.gz) but served decompressed. Uses two-level prefix: bh/{first-2-chars}/{next-2-chars}/{full-hash}.gz