MCPcopy Create free account
hub / github.com/bumptop/BumpTop / onFileModified

Method onFileModified

trunk/win/Source/BT_FileSystemPile.cpp:753–771  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

751}
752
753void FileSystemPile::onFileModified(QString strFileName)
754{
755 FileSystemActor *actor;
756
757 // Search all items in the pile for this path
758 for (uint i = 0; i < pileItems.size(); i++)
759 {
760 actor = (FileSystemActor *) pileItems[i];
761
762 // If the pile Item patches the file path, change its fileName
763 if (fsManager->isIdenticalPath(actor->getFullPath(), strFileName) && actor->isFileSystemType(Thumbnail))
764 {
765 // Update Thumbnail
766 actor->enableThumbnail();
767
768 return;
769 }
770 }
771}
772
773StrList FileSystemPile::getWatchDir()
774{

Callers

nothing calls this directly

Calls 5

isIdenticalPathMethod · 0.80
getFullPathMethod · 0.80
isFileSystemTypeMethod · 0.80
enableThumbnailMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected