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

Method syncBackingFile

Engine/CacheEntry.h:600–607  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

598 }
599
600 void syncBackingFile() const
601 {
602 if (_backingFile) {
603 _backingFile->flush(MemoryFile::eFlushTypeAsync, 0, 0);
604 } else if (_cacheFile && _entry) {
605 _cacheFile->file->flush(MemoryFile::eFlushTypeAsync, _cacheFile->file->data() + _cacheFileDataOffset, _entry->getCacheTileSizeBytes());
606 }
607 }
608
609 bool removeAnyBackingFile() const
610 {

Callers 2

saveMethod · 0.80
CacheEntryHelperClass · 0.80

Calls 2

flushMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected