MCPcopy Create free account
hub / github.com/MeisApps/pcbu-desktop / CreateFile

Method CreateFile

common/src/shell/Shell.cpp:136–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136bool Shell::CreateFile(const std::filesystem::path &path) {
137 std::ofstream file(path);
138 return file.is_open();
139}
140
141bool Shell::RemoveFile(const std::filesystem::path &path) {
142 boost::system::error_code ec{};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected