MCPcopy Index your code
hub / github.com/angular/angular / listFeatures

Function listFeatures

scripts/compare-main-to-patch.js:125–133  ·  view source on GitHub ↗

* @param {Map } commitsMap - commit map from collectCommitsAsMap * @returns {string[]} List of commits with commit messages that start with 'feat'

(commitsMap)

Source from the content-addressed store, hash-verified

123 * @returns {string[]} List of commits with commit messages that start with 'feat'
124 */
125function listFeatures(commitsMap) {
126 return Array.from(commitsMap.keys()).reduce((result, key) => {
127 if (key.startsWith('feat') && !shouldIgnoreCommit(key, ignoreFeatureCheckPatterns)) {
128 const value = commitsMap.get(key);
129 result.push(getCommitInfoAsString(value[1], value[0]));
130 }
131 return result;
132 }, []);
133}
134
135function getBranchByTag(tag) {
136 const version = semver.parse(tag);

Callers 1

mainFunction · 0.85

Calls 6

shouldIgnoreCommitFunction · 0.85
getCommitInfoAsStringFunction · 0.85
reduceMethod · 0.80
keysMethod · 0.65
getMethod · 0.65
pushMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…