MCPcopy Index your code
hub / github.com/rtfpessoa/diff2html / template

Method template

src/hoganjs-utils.ts:49–51  ·  view source on GitHub ↗
(namespace: string, view: string)

Source from the content-addressed store, hash-verified

47 }
48
49 template(namespace: string, view: string): Hogan.Template {
50 return this.preCompiledTemplates[this.templateKey(namespace, view)];
51 }
52
53 private templateKey(namespace: string, view: string): string {
54 return `${namespace}-${view}`;

Callers 3

makeFileDiffHtmlMethod · 0.80
makeFileDiffHtmlMethod · 0.80
renderMethod · 0.80

Calls 1

templateKeyMethod · 0.95

Tested by

no test coverage detected