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

Method TmpPathForFile

libs/platform/platform.cpp:180–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178}
179
180std::string Platform::TmpPathForFile() const
181{
182 size_t constexpr kNameLen = 32;
183 return base::JoinPath(TmpDir(), RandomString(kNameLen));
184}
185
186std::string Platform::TmpPathForFile(std::string const & prefix, std::string const & suffix) const
187{

Callers 3

TemporaryFileMethod · 0.45
GetFileNameFunction · 0.45
GetTmpFileNameFunction · 0.45

Calls 3

JoinPathFunction · 0.85
TmpDirClass · 0.85
RandomStringFunction · 0.85

Tested by

no test coverage detected