MCPcopy Create free account
hub / github.com/isomorphic-git/isomorphic-git / justMessage

Method justMessage

src/models/GitCommit.js:52–54  ·  view source on GitHub ↗
(commit)

Source from the content-addressed store, hash-verified

50 }
51
52 static justMessage(commit) {
53 return normalizeNewlines(commit.slice(commit.indexOf('\n\n') + 2))
54 }
55
56 static justHeaders(commit) {
57 return commit.slice(0, commit.indexOf('\n\n'))

Callers 3

fromPayloadSignatureMethod · 0.80
messageMethod · 0.80
signMethod · 0.80

Calls 2

normalizeNewlinesFunction · 0.90
sliceMethod · 0.80

Tested by

no test coverage detected