Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for finder (0.15 sec)

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

    Tom Tresansky <******@****.***> 1713804196 -0400
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 16:43:16 GMT 2024
    - 526 bytes
    - Viewed (0)
  2. .cm/plugins/filters/isEnabledUser/index.js

    Tom Tresansky <******@****.***> 1707149866 -0500
    JavaScript
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Mon Feb 05 22:00:34 GMT 2024
    - 923 bytes
    - Viewed (0)
  3. .cm/plugins/filters/categorize/index.js

    Tom Tresansky <******@****.***> 1712929336 -0400
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  4. .cm/plugins/filters/byCodeowner/ignore/index.js

        ignores (path) {
            return this._test(path, this._ignoreCache, false).ignored
        }
    
        createFilter () {
            return path => !this.ignores(path)
        }
    
        filter (paths) {
            return makeArray(paths).filter(this.createFilter())
        }
    
        // @returns {TestResult}
        test (path) {
            return this._test(path, this._testCache, true)
        }
    }
    
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  5. .cm/plugins/filters/byCodeowner/index.js

            .slice()
            .reverse()
            .find(x =>
                ignore()
                    .add(x.path)
                    .ignores(file)
            );
        if (!match) {
            console.log("No codeowner found for: " + file);
            return ['No owner'];
        }
        return match.owners;
    }
    
    module.exports = {
        async: true,
        filter: async (files, pr, token, pathToCodeOwners, callback) => {
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 19:12:32 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  6. .cm/plugins/filters/byPlatform/index.js

    Tom Tresansky <******@****.***> 1713804449 -0400
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 16:47:29 GMT 2024
    - 1K bytes
    - Viewed (0)
  7. .cm/plugins/filters/readField/index.js

     * @param {String} objectName - The name of the particular object to find
     * @param {String} fieldName - The name of the field for the group to return
     * @returns String - The specified value
     * @example {{ files | byPlatform | categorize(branch.diff.files_metadata) | readField('jvm', 'name') }}
     */
    
    function readField(objects, objectName, fieldName) {
        let group = Object.values(objects).find(s => s.name === objectName);
        if (group) {
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1K bytes
    - Viewed (0)
  8. .cm/plugins/filters/computeStatistics/index.js

        });
    
        console.log("computeStatistics: ");
        console.log(summaries)
        return summaries;
    }
    
    function metadataFor(fileMetadatas, file) {
        return fileMetadatas.find(fileMetadata => fileMetadata.file == file);
    }
    
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  9. .cm/plugins/filters/isEnabledAutomation/index.js

        const checksPart = inputString.split('@bot-gitstream check');
        if (checksPart.length === 2) {
            const checks = checksPart[1].split(' ');
            const namePattern = /^[a-zA-Z_]+$/;
            return checks.filter(check => namePattern.test(check));
        } else {
            return [];
        }
    }
    
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  10. .cm/plugins/filters/summaryTable/index.js

     * @example {{ owners | categorize(branch.diff.files_metadata) | computeStatistics(branch.diff.files_metadata) | summaryTable('Platform') }}
     */
    function summaryTable(statistics, title) {
        let preppedStatistics = statistics.filter(s => s.files.length > 0)
            .sort(s => -(s.additions + s.deletions));
    
        let totalAdditions = Object.values(preppedStatistics).reduce((acc, summary) => acc + summary.additions, 0);
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 3.2K bytes
    - Viewed (0)
Back to top