Example #1
0
        internal virtual bool ContainsPath(string pathToFind)
        {
            var predicate = new BundleContainsPathPredicate(pathToFind);

            Accept(predicate);
            return(predicate.Result);
        }
 bool AnyBundleContainsPath(string path)
 {
     readOnlyBundlesLock.EnterReadLock();
     try
     {
         var predicate = new BundleContainsPathPredicate(path)
         {
             AllowPartialAssetPaths = true
         };
         readOnlyBundles.Accept(predicate);
         return(predicate.Result);
     }
     finally
     {
         readOnlyBundlesLock.ExitReadLock();
     }
 }
Example #3
0
 internal virtual bool ContainsPath(string pathToFind)
 {
     var predicate = new BundleContainsPathPredicate(pathToFind);
     Accept(predicate);
     return predicate.Result;
 }
 bool AnyBundleContainsPath(string path)
 {
     readOnlyBundlesLock.EnterReadLock();
     try
     {
         var predicate = new BundleContainsPathPredicate(path) { AllowPartialAssetPaths = true };
         readOnlyBundles.Accept(predicate);
         return predicate.Result;
     }
     finally
     {
         readOnlyBundlesLock.ExitReadLock();
     }
 }