Skip to main content

Module pins

Module pins 

Source
Expand description

Centralized blob pin-name formatting.

Every retention pin is a named tag in the blob store. Names are built from the shared prefixes in crate::constants plus the entity’s identifiers so garbage collection can tell public shares, collections, snapshots, and one-off downloads apart. Formatting lives here so the wire-level naming convention is defined in one place.

Functions§

collection_content_pin
Pin name for a content blob referenced by a published collection.
collection_manifest_pin
Pin name for a published collection manifest blob.
download_pin
Pin name for a one-off downloaded blob.
public_blob_pin
Pin name for a publicly shared folder blob.
snapshot_content_pin
Pin name for a content blob referenced by a snapshot.
snapshot_manifest_pin
Pin name for a snapshot manifest blob.