MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / load

Method load

packages/core/ui/styling/style-scope.ts:210–213  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

208
209 @profile
210 private load(): void {
211 const file = File.fromPath(this._file);
212 this._source = file.readTextSync();
213 }
214
215 @profile
216 private parse(): void {

Callers 1

parseMethod · 0.95

Calls 2

readTextSyncMethod · 0.65
fromPathMethod · 0.45

Tested by

no test coverage detected