Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for foreach (0.2 sec)

  1. .cm/plugins/filters/categorize/index.js

    function categorize(fileOwners, fileMetadatas) {
        const result = new Map();
        [...fileOwners.keys()].forEach(platform => {
            result.set(platform, {
                name: platform,
                files: []
            });
        });
    
        Object.values(fileMetadatas).forEach(fileMetadata => {
            [...fileOwners.keys()].forEach(platform => {
                const files = fileOwners.get(platform);
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  2. .cm/plugins/filters/computeStatistics/index.js

        let totalAdditions = 0;
        let totalDeletions = 0
        let totalChangedFiles = 0;
    
        let summaries = [...groupedFiles.values()];
        Object.values(summaries).forEach(summary => {
            summary.additions = 0;
            summary.deletions = 0;
    
            summary.files.forEach(file => {
                let fileMetadata = metadataFor(fileMetadatas, file);
                summary.additions += fileMetadata.additions;
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  3. .cm/plugins/filters/summaryTable/index.js

                    <td>Deleted Lines</td>
                    <td>% of Total Line Changes</td>
                    <td>Files Changed</td>
                    <td>% of Total Files Changed</td>
                </tr>`;
    
        preppedStatistics.forEach(summary => {
            result += `<tr>
                <td>${summary.name}</td>
                <td>${summary.additions}</td>
                <td>${summary.additionPercent}%</td>
                <td>${summary.deletions}</td>
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  4. .cm/plugins/filters/byPlatform/index.js

     */
    function byPlatform(files) {
        const result = new Map();
        files.forEach(file => {
            const platform = getPlatform(file);
            if (!result.has(platform)) {
                result.set(platform, []);
            }
            result.get(platform).push(file);
        });
    
        console.log("byPlatform: ");
        [...result.keys()].forEach(platform => {
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 16:47:29 GMT 2024
    - 1K bytes
    - Viewed (0)
  5. .cm/plugins/filters/byCodeowner/index.js

                    .map(u => u.replace(/^@gradle\//, ""))
                    .forEach(owner => {
                        if (!result.has(owner)) {
                            result.set(owner, []);
                        }
                        result.get(owner).push(f);
                    });
            });
    
            console.log("byCodeowner: ");
            [...result.keys()].forEach(owner => {
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 19:12:32 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  6. .cm/plugins/filters/byCodeowner/ignore/index.js

        add (pattern) {
            this._added = false
    
            makeArray(
                isString(pattern)
                    ? splitPattern(pattern)
                    : pattern
            ).forEach(this._addPattern, this)
    
            // Some rules have just added to the ignore,
            // making the behavior changed.
            if (this._added) {
                this._initCache()
            }
    
            return this
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 17.5K bytes
    - Viewed (0)
Back to top