- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for categories (0.21 sec)
-
.cm/plugins/filters/categorize/index.js
* @example {{ owners | categorize(branch.diff.files_metadata) }} */ 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 => {
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/computeStatistics/index.js
* @param {[FileMetadata]} fileMetadatas - gitStream's list of metadata about file changes in the PR including path * @returns {[Object]} Returns list of computed summary statistic objects for each platform in the input groupedFiles * @example {{ fileOwners | categorize(branch.diff.files_metadata) | changeStatistics(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.8K bytes - Viewed (0) -
.cm/plugins/filters/summaryTable/index.js
* @param {[Object]} statistics - list of summary data objects from computeStatistics * @param {String} title - description of how data is grouped * @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)
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/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)