MCPcopy Create free account
hub / github.com/DamRsn/NeuralNote / _deleteFilesToDelete

Method _deleteFilesToDelete

NeuralNote/Source/SourceAudioManager.cpp:326–339  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

324}
325
326void SourceAudioManager::_deleteFilesToDelete()
327{
328 for (auto& file: mFilesToDelete) {
329 // Make sure we only ever delete files that have been recorded, not loaded from disk.
330 if (file.getParentDirectory() == mNeuralNoteDir) {
331 bool res = file.deleteFile();
332 jassertquiet(res);
333 } else {
334 jassertfalse;
335 }
336 }
337
338 mFilesToDelete.clear();
339}

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected