Skip to main content

Crate firecloud_storage

Crate firecloud_storage 

Source
Expand description

FireCloud Storage - Chunking, compression, and local storage

Implements:

  • FastCDC content-defined chunking
  • Adaptive compression (Zstd/LZ4)
  • Local chunk storage using Sled (lightweight embedded DB)
  • File manifest storage for tracking uploaded files
  • Storage quota management

Structs§

ChunkStore
Local chunk store backed by Sled
ChunkingConfig
Configuration for file chunking
FileChunker
Chunks files using FastCDC algorithm
ManifestStore
Local manifest store backed by Sled
ManifestSummary
Summary info for listing manifests
QuotaManager
Manages storage quota using Sled
QuotaStats
Detailed quota statistics
StorageQuota
Storage quota and usage statistics

Enums§

CompressionLevel
Compression level presets
StorageError

Functions§

compress
Compress data with the specified level
decompress
Decompress data (auto-detects format based on magic bytes)

Type Aliases§

StorageResult