MCPcopy Create free account
hub / github.com/TrenchBroom/TrenchBroom / WritableVirtualFileSystem

Method WritableVirtualFileSystem

lib/TbFsLib/src/VirtualFileSystem.cpp:322–328  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320}
321
322WritableVirtualFileSystem::WritableVirtualFileSystem(
323 VirtualFileSystem virtualFs, std::unique_ptr<WritableFileSystem> writableFs)
324 : m_virtualFs{std::move(virtualFs)}
325 , m_writableFs{*writableFs}
326{
327 m_virtualFs.mount(std::filesystem::path{}, std::move(writableFs));
328}
329
330Result<std::filesystem::path> WritableVirtualFileSystem::makeAbsolute(
331 const std::filesystem::path& path) const

Callers

nothing calls this directly

Calls 1

mountMethod · 0.80

Tested by

no test coverage detected