MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / addEntry

Function addEntry

scripts/generate-changelog.ts:69–81  ·  view source on GitHub ↗
(entry: ChangelogEntry)

Source from the content-addressed store, hash-verified

67 let detailsContent: string[] = [];
68
69 const addEntry = (entry: ChangelogEntry): void => {
70 if (entry.prNumber) {
71 changelogPRs.add(entry.prNumber);
72 }
73
74 if (entry.type === 'important') {
75 importantChanges.push(entry);
76 } else if (entry.type === 'internal') {
77 internalChanges.push(entry);
78 } else {
79 otherChanges.push(entry);
80 }
81 };
82
83 const flushCurrentEntry = (): void => {
84 if (currentEntry.length === 0 || !currentType) return;

Callers 2

flushCurrentEntryFunction · 0.85
processDetailsContentFunction · 0.85

Calls 2

pushMethod · 0.80
addMethod · 0.65

Tested by

no test coverage detected