Пример #1
0
 private WorkingTreeIterator.Entry[] Entries()
 {
     FilePath[] all = directory.ListFiles();
     if (all == null)
     {
         return(EOF);
     }
     WorkingTreeIterator.Entry[] r = new WorkingTreeIterator.Entry[all.Length];
     for (int i = 0; i < r.Length; i++)
     {
         r[i] = new FileTreeIterator.FileEntry(all[i], fs);
     }
     return(r);
 }
Пример #2
0
		private WorkingTreeIterator.Entry[] Entries()
		{
			FilePath[] all = directory.ListFiles();
			if (all == null)
			{
				return EOF;
			}
			WorkingTreeIterator.Entry[] r = new WorkingTreeIterator.Entry[all.Length];
			for (int i = 0; i < r.Length; i++)
			{
				r[i] = new FileTreeIterator.FileEntry(all[i], fs);
			}
			return r;
		}