Module iroh_blobs::util

source ·
Expand description

Utility functions and types.

Modules§

  • Utilities for filesystem operations.
  • Utilities for working with tokio io
  • A local task pool with proper shutdown
  • Utilities for reporting progress.

Structs§

  • A file that is sparse in memory
  • A tag
  • A hash and format pair that is protected from garbage collection.

Enums§

  • This is a general purpose Either, just like Result, except that the two cases are Mem for something that is in memory, and File for something that is somewhere external and only available via io.
  • Option for commands that allow setting a tag

Traits§

  • A trait for things that can track liveness of blobs and collections.
  • Trait used from temp tags to notify an abstract store that a temp tag is being dropped.

Functions§

  • Get the number of bytes given a set of chunk ranges and the total size.