Skip to content

API Reference / @gtkx/codegen / discoverGirNamespaces

Variable: discoverGirNamespaces

const discoverGirNamespaces: (girPath) => string[]

Defined in: codegen/dist/gir/libraries.d.ts:15

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[]

Released under the MPL-2.0 License.