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

Method parse

src/models/GitCommit.js:48–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46 }
47
48 parse() {
49 return Object.assign({ message: this.message() }, this.headers())
50 }
51
52 static justMessage(commit) {
53 return normalizeNewlines(commit.slice(commit.indexOf('\n\n') + 2))

Callers 12

resolveTreeFunction · 0.45
resolveBlobFunction · 0.45
resolveCommitFunction · 0.45
_readTagFunction · 0.45
_readCommitFunction · 0.45
_isDescendentFunction · 0.45
readObjectFunction · 0.45
test-version.jsFile · 0.45
jsdocConfigFunction · 0.45

Calls 2

messageMethod · 0.95
headersMethod · 0.95

Tested by 1

jsdocConfigFunction · 0.36