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

Method _getCached

out/cli.cjs:31187–31193  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31185 this.augment = this.extend;
31186 }
31187 _getCached() {
31188 if (this._cached !== null)
31189 return this._cached;
31190 const shape = this._def.shape();
31191 const keys = util_1.util.objectKeys(shape);
31192 return this._cached = { shape, keys };
31193 }
31194 _parse(input) {
31195 const parsedType = this._getType(input);
31196 if (parsedType !== util_1.ZodParsedType.object) {

Callers 1

_parseMethod · 0.95

Calls 1

shapeMethod · 0.80

Tested by

no test coverage detected