Skip to content

API Reference / @gtkx/codegen / discoverGirNamespaces

Function: discoverGirNamespaces() ​

discoverGirNamespaces(girPath): string[]

Defined in: packages/codegen/src/gir/libraries.ts:106

Every GIR library installed on the search path, as sorted Name-Version identifiers. A namespace found in more than one version contributes only its highest, and unreadable directories are skipped.

Parameters ​

girPath ​

string[]

Returns ​

string[]