pub fn blob_path(index: u32) -> Option<String>Expand description
Format a blob file path for a given index. Blob 0 is the primary blob (the metadata block plus the first payload section); higher indices are overflow payload blobs, which are always siblings of blob 0. The format crate is path-agnostic; this layout knowledge stays here.
Blob 0 is <state dir>/data/0 unless load_raw_at anchored the layout on
a blob file named directly, in which case that file is blob 0 and its
directory holds the rest. None when neither applies: no host installed a
state root and none named a blob, so there is no layout to resolve against.