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. - Turbo
Backing Storage - The higher-level backing storage passed to
TurboTasksBackend::new, used bycrate::turbo_backing_storageandcrate::noop_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
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 in-memory
BackingStorageto be passed toTurboTasksBackend::new. Backed by an empty, read-onlyTurboPersistence— reads returnNone, writes are not expected (callers should setBackendOptions::storage_modetoNone). - turbo_
backing_ storage - Creates a
BackingStorageto be passed toTurboTasksBackend::new.