- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for path (0.12 sec)
-
.cm/plugins/filters/categorize/index.js
* @param {Map} fileOwners mapping of platform name to a list of files involved in the change located in that platform * @param {[FileMetadata]} fileMetadatas - gitStream's list of metadata about file changes in the PR including path * @returns {[Object]} Returns a list of objects for each platform containing info about the changes to files in that platform * @example {{ owners | categorize(branch.diff.files_metadata) }} */
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) -
.cm/plugins/filters/byCodeowner/ignore/index.js
return path => !this.ignores(path) } filter (paths) { return makeArray(paths).filter(this.createFilter()) } // @returns {TestResult} test (path) { return this._test(path, this._testCache, true) } } const factory = options => new Ignore(options) const isPathValid = path => checkPath(path && checkPath.convert(path), path, RETURN_FALSE)
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/byCodeowner/index.js
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/byPlatform/index.js
/** * @module byPlatform * @description Groups the PR's files by platform based on the file's path. * @param {string[]} files - the gitStream's files context variable * @returns {Map} - Map from platform to list of files in this PR in it * @example {{ owners | byPlatform }} */ function byPlatform(files) { const result = new Map(); files.forEach(file => { const platform = getPlatform(file); if (!result.has(platform)) {
JavaScript - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Mon Apr 22 16:47:29 GMT 2024 - 1K bytes - Viewed (0) -
.cm/plugins/filters/computeStatistics/index.js
}); }); summaries.forEach(summary => { summary.additionPercent = Math.round(summary.additions / (totalAdditions + totalDeletions) * 100, 2); summary.deletionPercent = Math.round(summary.deletions / (totalAdditions + totalDeletions) * 100, 2); summary.filesPercent = Math.round(summary.files.length / totalChangedFiles * 100, 2); }); console.log("computeStatistics: ");
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) -
.cm/plugins/filters/summaryTable/index.js
let newRatio = totalAdditions / (totalAdditions + totalDeletions) * 100; let result = `:bar_chart: **Changes by ${title}: this PR is ${Math.round(newRatio, 2)}% new code**`; // Only title by Platform if (title === "Platform") { result += ` <br>${platformsAffected(preppedStatistics)}`; } result += ` <details>
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)