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

Method remove

Engine/MemoryFile.cpp:428–440  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

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