MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / updateCachedSize

Method updateCachedSize

source/ui/data/boxedContainer.cpp:384–386  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

382}
383
384void BoxedContainer::updateCachedSize() {
385 this->cachedSize = getReadableSize(Fs::getNativeDirectorySize(this->getDir(), true));
386}
387
388bool BoxedContainer::doesFileExist(const BString& localFilePath) {
389 BString nativePath = this->dirPath.stringByApppendingPath("root").stringByApppendingPath(Fs::nativeFromLocal(localFilePath));

Callers 1

setCurrentContainerMethod · 0.80

Calls 2

getDirMethod · 0.95
getReadableSizeFunction · 0.85

Tested by

no test coverage detected