MCPcopy Create free account
hub / github.com/anomalyco/opencode / contributors

Function contributors

script/raw-changelog.ts:156–170  ·  view source on GitHub ↗
(from: string, to: string)

Source from the content-addressed store, hash-verified

154}
155
156async function contributors(from: string, to: string) {
157 const base = ref(from)
158 const head = ref(to)
159
160 const users: User = new Map()
161 for (const item of await diff(base, head)) {
162 const title = item.message.split("\n")[0] ?? ""
163 if (!item.login || team.includes(item.login)) continue
164 if (title.match(/^(ignore:|test:|chore:|ci:|release:)/i)) continue
165 if (!users.has(item.login)) users.set(item.login, new Set())
166 users.get(item.login)!.add(title)
167 }
168
169 return users
170}
171
172async function published(to: string) {
173 if (to === "HEAD") return

Callers 1

thanksFunction · 0.85

Calls 5

refFunction · 0.70
diffFunction · 0.70
addMethod · 0.65
getMethod · 0.65
setMethod · 0.45

Tested by

no test coverage detected