Skip to main content

fallow_extract/cache/
mod.rs

1//! Incremental parse cache with bincode serialization.
2//!
3//! Stores parsed module information (exports, imports, re-exports) on disk so
4//! unchanged files can skip AST parsing on subsequent runs. Uses xxh3 content
5//! hashing to detect changes.
6
7mod conversion;
8mod store;
9mod types;
10
11#[cfg(test)]
12mod tests;
13
14pub use conversion::{cached_to_module, module_to_cached};
15pub use store::CacheStore;
16pub use types::{
17    CachedDynamicImport, CachedDynamicImportPattern, CachedExport, CachedImport, CachedMember,
18    CachedModule, CachedReExport, CachedRequireCall, CachedSuppression,
19};