Skip to main content

Crate ferripfs_pinning

Crate ferripfs_pinning 

Source
Expand description

Pinning system for ferripfs, ported from Kubo’s boxo/pinning.

Pins prevent blocks from being garbage collected. There are three types:

  • Direct: Only the root block is protected
  • Recursive: The root and all blocks it references are protected
  • Indirect: Created automatically when a block is referenced by a recursive pin

Structs§

BlockstorePinner
Default pinner implementation using a blockstore and pin store
PinInfo
Information about a pin
PinStore
Persistent pin store

Enums§

PinError
Pinning error type
PinMode
Pin mode (type of pin)

Traits§

Pinner
Trait for pinning operations

Type Aliases§

PinResult
Result type for pinning operations