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

Method _getOrReturnCtx

out/cli.cjs:29613–29622  ·  view source on GitHub ↗
(input, ctx)

Source from the content-addressed store, hash-verified

29611 return (0, util_1.getParsedType)(input.data);
29612 }
29613 _getOrReturnCtx(input, ctx) {
29614 return ctx || {
29615 common: input.parent.common,
29616 data: input.data,
29617 parsedType: (0, util_1.getParsedType)(input.data),
29618 schemaErrorMap: this._def.errorMap,
29619 path: input.path,
29620 parent: input.parent
29621 };
29622 }
29623 _processInputParams(input) {
29624 return {
29625 status: new parseUtil_1.ParseStatus(),

Callers 7

_parseMethod · 0.80
_parseMethod · 0.80
_parseMethod · 0.80
_parseMethod · 0.80
_parseMethod · 0.80
_parseMethod · 0.80
_parseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected