@worldware/msg-cli
    Preparing search index...

    Function ensureDirectoriesWithGitkeep

    • Ensures i18n and l10n directory trees exist and adds .gitkeep to leaf dirs. Leaf dirs: i18n/projects, i18n/resources, l10n/translations, l10n/xliff.

      Parameters

      • rootDir: string

        Project root (absolute)

      • i18nDir: string

        Relative i18n path

      • l10nDir: string

        Relative l10n path

      • force: boolean

        If true, overwrite/recreate even when dirs exist or are non-empty

      Returns void