Common01/Source/Common/FileSystem/FoundDynamicFile.cpp
const bool FoundDynamicFile::GetExist() const
{
   for (const auto& iter: m_arrayProvider)
   {
      auto pPointer = iter.lock();
      if (nullptr != pPointer)
      {
         if (true == pPointer->QueryDynamicFile(m_path))
         {
            return true;
         }
      }
   }
   return false;
}
//when the function was called, the file existed
// we dont cache found/exists, as we have a AsyncSaveAll, AsyncDeleteAll, 
// which over a period of time, can change files against multiple providers
when the function was called, the file existed
we dont cache found/exists, as we have a AsyncSaveAll, AsyncDeleteAll,
which over a period of time, can change files against multiple providers
when the function was called the file existed we dont cache found / exists as we have a AsyncSaveAll AsyncDeleteAll which over a period of time can change files against multiple providers
const bool FoundDynamicFile::GetExist() const
{
   for (const auto& iter: m_arrayProvider)
   {
      auto pPointer = iter.lock();
      if (nullptr != pPointer)
      {
         if (true == pPointer->QueryDynamicFile(m_path))
         {
            return true;
         }
      }
   }
   return false;
}
const bool FoundDynamicFile :: GetExist ( ) const { for ( const auto & iter : m_arrayProvider ) { auto pPointer = iter . lock ( ) ; if ( nullptr != pPointer ) { if ( true == pPointer -> QueryDynamicFile ( m_path ) ) { return true ; } } } return false ; }
when the function was called, the file existed
we dont cache found/exists, as we have a AsyncSaveAll, AsyncDeleteAll,
which over a period of time, can change files against multiple providers
when the function was called the file existed we dont cache found / exists as we have a AsyncSaveAll AsyncDeleteAll which over a period of time can change files against multiple providers