MCPcopy Create free account
hub / github.com/CoderLine/alphaTab / saveFile

Method saveFile

packages/alphatab/test/TestPlatform.ts:25–29  ·  view source on GitHub ↗

* @target web * @partial

(name: string, data: Uint8Array)

Source from the content-addressed store, hash-verified

23 * @partial
24 */
25 public static async saveFile(name: string, data: Uint8Array): Promise<void> {
26 const directory = path.dirname(name);
27 await fs.promises.mkdir(directory, { recursive: true });
28 await fs.promises.writeFile(name, data);
29 }
30
31 /**
32 * @target web

Callers 3

testVorbisFileFunction · 0.45
testAudioExportFunction · 0.45
saveFilesMethod · 0.45

Calls

no outgoing calls

Tested by 2

testVorbisFileFunction · 0.36
testAudioExportFunction · 0.36