- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for filters (0.18 sec)
-
.cm/plugins/filters/byCodeowner/index.js
* @description Groups the PR's files' by owner based on the CODEOWNERs file. * @param {string[]} files - the gitStream's files context variable * @param {Object} pr - the gitStream's pr context variable * @param {string} token - access token with repo:read scope, used to read the CODEOWNERS file * @param {string} pathToCodeOwners - path from repo root to CODEOWNERS file * @returns {Map} - Map from owner name to list of files they own
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) -
.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) -
.cm/plugins/filters/summaryTable/index.js
* @returns {String} Returns the formatted HTMl table string. * @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));
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) -
.cm/plugins/filters/isEnabledAutomation/index.js
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) -
.cm/plugins/filters/computeStatistics/index.js
*/ function computeStatistics(groupedFiles, fileMetadatas) { 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 => {
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)