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