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

Method _parseSync

out/cli.cjs:29636–29642  ·  view source on GitHub ↗
(input)

Source from the content-addressed store, hash-verified

29634 };
29635 }
29636 _parseSync(input) {
29637 const result = this._parse(input);
29638 if ((0, parseUtil_1.isAsync)(result)) {
29639 throw new Error("Synchronous parse encountered promise.");
29640 }
29641 return result;
29642 }
29643 _parseAsync(input) {
29644 const result = this._parse(input);
29645 return Promise.resolve(result);

Callers 5

safeParseMethod · 0.80
_parseMethod · 0.80
_parseMethod · 0.80
_parseMethod · 0.80
_parseMethod · 0.80

Calls 1

_parseMethod · 0.45

Tested by

no test coverage detected