API Reference / @gtkx/codegen / resolveGirPath
Function: resolveGirPath()
resolveGirPath(
configGirPath,root?):string[]
Defined in: packages/codegen/src/gir/gir-path.ts:15
The directories to search for .gir files, in precedence order: the config's own girPath, then GTKX_GIR_PATH, then /usr/share/gir-1.0, then the girdir pkg-config reports for gobject-introspection-1.0. Duplicates are dropped, and the system directories are included only when they exist.
Parameters
configGirPath
string[] | undefined
root?
string = ...
Returns
string[]
Throws
If pkg-config is installed but fails while being queried.