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

Method render

src/models/GitCommit.js:117–119  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

115 }
116
117 static render(obj) {
118 return GitCommit.renderHeaders(obj) + '\n' + normalizeNewlines(obj.message)
119 }
120
121 render() {
122 return this._commit

Callers 1

constructorMethod · 0.45

Calls 2

normalizeNewlinesFunction · 0.90
renderHeadersMethod · 0.80

Tested by

no test coverage detected