Exemple #1
0
bool TamyEditor::isResourceFromDeletedDir( const FilePath& resourcePath, const FilePath& deletedDir )
{
   const Filesystem& fs = ResourcesManager::getInstance().getFilesystem();
   return resourcePath.isSubPath( deletedDir ) && !fs.doesExist( resourcePath );
}
Exemple #2
0
bool TamyEditor::isParentDir( const FilePath& resourcePath, const FilePath& dir )
{
   return resourcePath.isSubPath( dir );
}