MCPcopy
hub / github.com/di-sukharev/opencommit / defineAccessor

Method defineAccessor

out/cli.cjs:72212–72218  ·  view source on GitHub ↗
(_header)

Source from the content-addressed store, hash-verified

72210 return computed;
72211 }
72212 static accessor(header) {
72213 const internals = this[$internals] = this[$internals] = {
72214 accessors: {}
72215 };
72216 const accessors = internals.accessors;
72217 const prototype3 = this.prototype;
72218 function defineAccessor(_header) {
72219 const lHeader = normalizeHeader(_header);
72220 if (!accessors[lHeader]) {
72221 buildAccessors(prototype3, _header);

Callers

nothing calls this directly

Calls 2

normalizeHeaderFunction · 0.85
buildAccessorsFunction · 0.85

Tested by

no test coverage detected