예제 #1
0
 /// <exception cref="System.IO.IOException"></exception>
 private void Seek(string path)
 {
     if (!path.Equals(current))
     {
         iterator.Reset();
         tw.Reset();
         tw.AddTree(iterator);
         tw.Filter = PathFilter.Create(path);
         current   = path;
         if (!tw.Next())
         {
             throw new FileNotFoundException(path);
         }
         ptr = tw.GetTree <WorkingTreeIterator>(0);
         if (ptr == null)
         {
             throw new FileNotFoundException(path);
         }
     }
 }