MCPcopy Create free account
hub / github.com/codemix/graph / constructor

Method constructor

packages/graph/src/Graph.ts:225–227  ·  view source on GitHub ↗
(config: EmptyGraphSourceConfig<TSchema>)

Source from the content-addressed store, hash-verified

223export class EmptyGraphSource<const TSchema extends GraphSchema> implements GraphSource<TSchema> {
224 #config: EmptyGraphSourceConfig<TSchema>;
225 public constructor(config: EmptyGraphSourceConfig<TSchema>) {
226 this.#config = config;
227 }
228 public get schema(): TSchema {
229 return this.#config.schema;
230 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected