MCPcopy Create free account
hub / github.com/comaps/comaps / ScopedFile

Method ScopedFile

libs/platform/platform_tests_support/scoped_file.cpp:20–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18namespace tests_support
19{
20ScopedFile::ScopedFile(std::string const & relativePath, Mode mode) : ScopedFile(relativePath, {} /* contents */, mode)
21{}
22
23ScopedFile::ScopedFile(std::string const & relativePath, std::string const & contents)
24 : ScopedFile(relativePath, contents, Mode::Create)

Callers

nothing calls this directly

Calls 6

JoinPathFunction · 0.85
GetFileNameMethod · 0.45
WriteMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45
whatMethod · 0.45

Tested by

no test coverage detected