Skip to main content

turbopack_database_compact

Function turbopack_database_compact 

Source
pub async fn turbopack_database_compact(
    path: String,
    next_version: String,
) -> Result<()>
Expand description

Opens the Turbopack persistent cache database at the given path and performs a full compaction.

The path should point to the <distDir>/cache/turbopack directory.