MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / remove

Method remove

Engine/MemoryFile.cpp:429–441  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

427}
428
429void
430MemoryFile::remove()
431{
432 if ( !_imp->path.empty() ) {
433 if (_imp->data) {
434 _imp->closeMapping(true);
435 }
436 int ok = ::remove( _imp->path.c_str() );
437 Q_UNUSED(ok);
438 _imp->path.clear();
439 _imp->data = 0;
440 }
441}
442
443NATRON_NAMESPACE_EXIT
444

Callers 15

TESTFunction · 0.80
restoreCacheFunction · 0.80
ProcessHandler.cppFile · 0.80
onDataWrittenToSocketMethod · 0.80
initializeMethod · 0.80
createNodeInternalMethod · 0.80
getInputLabelMethod · 0.80
CLArgsMethod · 0.80
Q_FOREACHFunction · 0.80
QStringList getSplitPathFunction · 0.80

Calls 3

emptyMethod · 0.80
closeMappingMethod · 0.80
clearMethod · 0.45

Tested by 1

TESTFunction · 0.64