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

Method mount

lib/TbFsLib/src/VirtualFileSystem.cpp:153–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153VirtualMountPointId VirtualFileSystem::mount(
154 const std::filesystem::path& path, std::unique_ptr<FileSystem> fs)
155{
156 const auto id = VirtualMountPointId{};
157 m_mountPoints.push_back({id, path, std::move(fs)});
158 return id;
159}
160
161bool VirtualFileSystem::unmount(const VirtualMountPointId& id)
162{

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected