MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / createFileAdapter

Function createFileAdapter

packages/sdk-playground/src/fileAdapter.ts:52–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50}
51
52export async function createFileAdapter(): Promise<{
53 adapter: PersistAdapter;
54 initialHtml: string | undefined;
55}> {
56 const adapter = new FileAdapter();
57 const initialHtml = await adapter.read("composition.html");
58 return { adapter, initialHtml };
59}

Callers 4

listVersionsIntoFunction · 0.85
loadOldestVersionFunction · 0.85
openEditorFunction · 0.85
initFunction · 0.85

Calls 1

readMethod · 0.95

Tested by

no test coverage detected