MCPcopy Index your code
hub / github.com/Audio4Linux/JDSP4Linux / backupLastLog

Method backupLastLog

src/utils/Log.cpp:263–277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261}
262
263void Log::backupLastLog()
264{
265 QFile file(path());
266 QFile oldFile(pathOld());
267
268 if (file.exists())
269 {
270 if(oldFile.exists())
271 {
272 oldFile.remove();
273 }
274
275 file.copy(pathOld());
276 }
277}
278
279QString Log::path()
280{

Callers

nothing calls this directly

Calls 3

existsMethod · 0.45
removeMethod · 0.45
copyMethod · 0.45

Tested by

no test coverage detected