MCPcopy Index your code
hub / github.com/changesets/changesets / getChangeset

Function getChangeset

packages/changelog-github/src/index.test.ts:44–62  ·  view source on GitHub ↗
(content: string, commit: string | undefined)

Source from the content-addressed store, hash-verified

42);
43
44const getChangeset = (content: string, commit: string | undefined) => {
45 return [
46 {
47 ...parse(
48 `---
49 pkg: "minor"
50 ---
51
52 something
53 ${content}
54 `
55 ),
56 id: "some-id",
57 commit,
58 },
59 "minor",
60 { repo: data.repo },
61 ] as const;
62};
63
64const data = {
65 commit: "a085003",

Callers 1

index.test.tsFile · 0.70

Calls 1

parseFunction · 0.85

Tested by

no test coverage detected