- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for files (0.12 sec)
-
.cm/plugins/filters/categorize/index.js
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/nullToEmpty/index.js
* @param {Object} input - The object to investigate * @returns Object - The specified value if non-null, otherwise an empty array * @example {{ readField('jvm', 'files') | nullToEmpty }} */ function nullToEmpty(input) { let output; if (input) { output = input; } else { output = []; } console.log("nullToEmpty: " + output);
JavaScript - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Mon Apr 22 16:43:16 GMT 2024 - 526 bytes - Viewed (0) -
.cm/plugins/filters/computeStatistics/index.js
summary.filesPercent = Math.round(summary.files.length / totalChangedFiles * 100, 2); }); 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) -
.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
* </ul> * * or * * <ul> * <li>Someone has commented `@bot-gitstream run <NAME_OF_AUTOMATION>` (the file name, without the `.cm` suffix) on the PR.</li> * </ul> * * @param {string} automationName - The automation name (*.cm file name containing the automation) to check. * @param {Map} pr - The gitStream PR instance to check (includes metadata related to the pull request).
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/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/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/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) -
.cm/plugins/filters/byCodeowner/ignore/index.js
// changes in [2.22.1](https://git-scm.com/docs/gitignore/2.22.1) // which re-fixes #24, #38 // > If there is a separator at the end of the pattern then the pattern // > will only match directories, otherwise the pattern can match both // > files and directories. // 'js*' will not match 'a.js' // 'js/' will not match 'a.js'
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)