(name: &str)
| 5188 | } |
| 5189 | |
| 5190 | fn source_checkout_path(name: &str) -> Option<&'static Path> { |
| 5191 | match name { |
| 5192 | POSTGRES_PGLITE_SOURCE => Some(Path::new(POSTGRES_PGLITE_PATH)), |
| 5193 | PGLITE_BUILD_SOURCE => Some(Path::new(PGLITE_BUILD_PATH)), |
| 5194 | "pglite" => Some(Path::new("assets/checkouts/pglite")), |
| 5195 | "pgvector" => Some(Path::new(PGVECTOR_BUILD_DIR)), |
| 5196 | "pgtap" => Some(Path::new("assets/checkouts/pgtap")), |
| 5197 | "pg_ivm" => Some(Path::new("assets/checkouts/pg_ivm")), |
| 5198 | "pg_uuidv7" => Some(Path::new("assets/checkouts/pg_uuidv7")), |
| 5199 | "pg_hashids" => Some(Path::new("assets/checkouts/pg_hashids")), |
| 5200 | "age" => Some(Path::new("assets/checkouts/age")), |
| 5201 | "pg_textsearch" => Some(Path::new("assets/checkouts/pg_textsearch")), |
| 5202 | "postgis" => Some(Path::new("assets/checkouts/postgis")), |
| 5203 | "pglite-bindings" => Some(Path::new("assets/checkouts/pglite-bindings")), |
| 5204 | _ => None, |
| 5205 | } |
| 5206 | } |
| 5207 | |
| 5208 | fn ensure_clean_checkout(source: &SourcePin, path: &Path) -> Result<()> { |
| 5209 | if !path.exists() { |
no outgoing calls
no test coverage detected