Skip to content

five-on-it / apps/tools/src/level-files / writeLevelIndex

Function: writeLevelIndex() ​

writeLevelIndex(levelsDir): Promise<string>

Defined in: apps/tools/src/level-files.ts:136

Writes the registry for the level files in levelsDir and every level file's declaration, and removes the declarations of level files that are gone; returns the registry's path.

Parameters ​

levelsDir ​

string

Returns ​

Promise<string>