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

    Function validatePaths

    • Validates i18n and l10n paths (relative, non-empty, no absolute segments).

      Parameters

      • rootDir: string

        Project root (absolute)

      • i18nDir: string

        Relative i18n path

      • l10nDir: string

        Relative l10n path

      Returns { valid: true } | { error: string; valid: false }

      Object with valid: boolean and optional error message