MCPcopy Create free account
hub / github.com/f0rr0/oliphaunt / build_kind

Function build_kind

xtask/src/extension_catalog.rs:1511–1518  ·  view source on GitHub ↗
(extension: &ExtensionCatalogEntry)

Source from the content-addressed store, hash-verified

1509}
1510
1511fn build_kind(extension: &ExtensionCatalogEntry) -> &'static str {
1512 match extension.source_kind.as_str() {
1513 "postgres-contrib" => "postgres-contrib",
1514 "pglite-other-extension" => "pgxs-external",
1515 "postgis" => "postgis",
1516 _ => "unsupported",
1517 }
1518}
1519
1520fn extension_source_dir(extension: &ExtensionCatalogEntry) -> String {
1521 extension_source_dir_for(&extension.id, &extension.source_kind)

Callers 1

build_specsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected