Expand description
Abstract file-storage layer for Cognee.
Provides a trait-based interface for blob/file persistence so storage backends can be swapped without touching the ingestion pipeline.
StorageTrait(+StorageExt,StorageWriter) — async storage operationsLocalStorage— local-filesystem implementation usingfile://URIsMockStorage(featuretesting) — in-memory implementation for tests
Structs§
- Local
Storage - Storage
Writer - A writer for storing data in chunks This allows efficient streaming writes without loading entire content into memory
Enums§
Traits§
- Storage
Ext - Extension trait providing generic convenience methods on top of
StorageTrait. Auto-implemented for all types that implementStorageTrait. - Storage
Trait