MCPcopy Create free account
hub / github.com/NativeScript/android / ReadFileText

Method ReadFileText

test-app/runtime/src/main/cpp/Runtime.cpp:267–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265}
266
267std::string Runtime::ReadFileText(const std::string& filePath) {
268#ifdef APPLICATION_IN_DEBUG
269 std::lock_guard<std::mutex> lock(m_fileWriteMutex);
270#endif
271 return File::ReadText(filePath);
272}
273
274void Runtime::Lock() {
275#ifdef APPLICATION_IN_DEBUG

Callers 4

LoadDataMethod · 0.80
LoadESModuleMethod · 0.80
WrapModuleContentMethod · 0.80
ResolveModuleCallbackFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected