Skip to main content

is_worker_migration_path

Function is_worker_migration_path 

Source
pub fn is_worker_migration_path(rel: &Path) -> bool
Expand description

P4b (#2608): whether rel (output-root-relative) names a file in some Worker’s copied D1 migrations, workers/<dashes>/migrations/…, where bynk-driver::output’s reconciliation prunes a .sql the build no longer produces. Every component must be a plain name, as for is_worker_asset_path.