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

Method writeFile

src/app/MediaFileSystem.cpp:121–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121bool MediaFileSystem::writeFile(const std::filesystem::path & name, const void* data, size_t size)
122{
123 for (const auto& fs : m_FileSystems)
124 if (fs->writeFile(name, data, size))
125 return true;
126 return false;
127}
128
129int MediaFileSystem::enumerateFiles(const std::filesystem::path& path, const std::vector<std::string>& extensions, enumerate_callback_t callback, bool allowDuplicates)
130{

Callers 2

DumpFileCallbackFunction · 0.45
ShaderDebugInfoCallbackFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected