MCPcopy Create free account
hub / github.com/Stevenic/codepilot / constructor

Method constructor

src/Codepilot.ts:19–21  ·  view source on GitHub ↗

* Creates a new `Codepilot` instance. * @param index The code index to use.

(index: CodeIndex)

Source from the content-addressed store, hash-verified

17 * @param index The code index to use.
18 */
19 public constructor(index: CodeIndex) {
20 this._index = index;
21 }
22
23 /**
24 * Gets the code index.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected