Modules§
Structs§
- Backend
Options - GitVersion
Info - Information gathered by
vergen_gitclin the top-level binary crate and passed down. This information must be computed in the top-level crate for cargo incremental compilation to work correctly. - KeyValue
Database Backing Storage - Turbo
Tasks Backend
Enums§
- Startup
Cache State - Information about if there’s was a pre-existing cache or if the cache was detected as invalidated during startup.
- Storage
Mode
Traits§
- Backing
Storage - Represents types accepted by
TurboTasksBackend::new. Typically this is the value returned byturbo_backing_storageornoop_backing_storage.
Functions§
- compact_
database - Opens a Turbopack persistent cache database at the given base path and performs a full
compaction. This is intended for use by the
next internal post-buildCLI command to optimize the database after a build, without requiring the full turbo-tasks runtime. - handle_
db_ versioning - Given a base path, creates a version directory for the given
version_info. Automatically cleans up old/stale databases. - noop_
backing_ storage - Creates an no-op in-memory
BackingStorageto be passed toTurboTasksBackend::new. - turbo_
backing_ storage - Creates a
BackingStorageto be passed toTurboTasksBackend::new.