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

    Function filterXliffPathsByProject

    • Filters XLIFF file paths by project name. Keeps paths where filename starts with projectName or projectName is a directory in the path.

      Parameters

      • filePaths: string[]

        Array of absolute XLIFF file paths

      • projectName: string

        Project name to filter by

      Returns string[]

      Filtered array of paths