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

Method Save

generator/restriction_writer.cpp:189–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187}
188
189void RestrictionWriter::Save()
190{
191 CHECK(!m_stream.is_open(), ("Finish() has not been called."));
192 LOG(LINFO, ("Saving restriction values to", GetFilename()));
193 if (Platform::IsFileExistsByFullPath(GetTmpFilename()))
194 CHECK(base::CopyFileX(GetTmpFilename(), GetFilename()), ());
195}
196
197void RestrictionWriter::OrderCollectedData()
198{

Callers

nothing calls this directly

Calls 1

CopyFileXFunction · 0.85

Tested by

no test coverage detected