detectKayKitLayout
detectKayKitLayout(
rootPath):KayKitUpstreamLayout|undefined
Defined in: src/cli/commands/bootstrap/upstream-layout.ts:98
Inspect a candidate pack root and return its matching layout descriptor.
Detection rule: a candidate matches a layout when the GLTF category
directories exist AND at least one of two provenance signals is present:
A) All KayKitUpstreamLayout.markerFiles exist (itch.io zip).
B) The primary texture file exists under
KayKitUpstreamLayout.relativeTextureRoot (GitHub archive — omits
License.txt, PDFs, and contents_*.jpg but includes the texture).
EXTRA is tested before FREE (EXTRA categories are a superset of FREE’s).
Parameters
Section titled “Parameters”rootPath
Section titled “rootPath”string
Returns
Section titled “Returns”KayKitUpstreamLayout | undefined