MCPcopy Create free account
hub / github.com/NVIDIA-RTX/Donut / readFile

Method readFile

src/app/MediaFileSystem.cpp:113–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113std::shared_ptr<IBlob> MediaFileSystem::readFile(const std::filesystem::path & name)
114{
115 for (const auto& fs : m_FileSystems)
116 if (std::shared_ptr<vfs::IBlob> blob = fs->readFile(name))
117 return blob;
118 return nullptr;
119}
120
121bool MediaFileSystem::writeFile(const std::filesystem::path & name, const void* data, size_t size)
122{

Callers 1

CreateFontFromFileMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected