MCPcopy Create free account
hub / github.com/p2r3/convert / constructor

Method constructor

test/MockedHandler.ts:8–12  ·  view source on GitHub ↗
(public name: string, public supportedFormats?: FileFormat[], public supportAnyInput?: boolean)

Source from the content-addressed store, hash-verified

6 */
7export class MockedHandler implements FormatHandler {
8 constructor(public name: string, public supportedFormats?: FileFormat[], public supportAnyInput?: boolean) {
9 this.name = name;
10 this.supportedFormats = supportedFormats;
11 this.supportAnyInput = supportAnyInput;
12 }
13 ready: boolean = false;
14 init() {
15 this.ready = true;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected