MCPcopy Index your code
hub / github.com/apitable/apitable / TestLoader

Class TestLoader

packages/core/src/tablebundle/__tests__/table_bundle.test.ts:15–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13};
14
15class TestLoader implements ITableBundleLoader {
16 load(path: string): Buffer {
17 return fs.readFileSync(path);
18 }
19}
20class TestSaver implements ITableBundleSaver {
21 save(array: Uint8Array, path: string): void {
22 return fs.writeFileSync(path, array);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected