MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / path

Method path

out/cli.cjs:29524–29533  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29522 this._key = key;
29523 }
29524 get path() {
29525 if (!this._cachedPath.length) {
29526 if (this._key instanceof Array) {
29527 this._cachedPath.push(...this._path, ...this._key);
29528 } else {
29529 this._cachedPath.push(...this._path, this._key);
29530 }
29531 }
29532 return this._cachedPath;
29533 }
29534 };
29535 var handleResult = (ctx, result) => {
29536 if ((0, parseUtil_1.isValid)(result)) {

Callers 4

_getCompletionsSendFunction · 0.80
_getChatCompletionsSendFunction · 0.80
_getImageGenerationsSendFunction · 0.80
_getEmbeddingsSendFunction · 0.80

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected