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

Method loadFileAsString

packages/alphatab/test/TestPlatform.ts:72–75  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

70 }
71
72 public static async loadFileAsString(path: string): Promise<string> {
73 const data = await TestPlatform.loadFile(path);
74 return IOHelper.toString(data, 'UTF-8');
75 }
76
77 public static loadFileAsStringSync(path: string): string {
78 const data = TestPlatform.loadFileSync(path);

Callers 3

XmlParse.test.tsFile · 0.80

Calls 2

loadFileMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected