public IFileSystemWalker CreateWalker(FileHandle rootFileHandle) { var(@namespace, rawFileHandle) = UnWarpFileHandle(rootFileHandle); if (!_fileSystems.TryGetValue(@namespace, out var fileSystem)) { throw new FileNotFoundException(rootFileHandle); } var rawWalker = fileSystem.CreateWalker(rawFileHandle); return(FileSystemWalkerFactory.FromEnumerable( rootFileHandle, rawWalker.Select(item => new FileSystemWalkerEntry(WarpFileHandle(@namespace, item.FileHandle), item.FileStats, item.Path)))); }
public override IFileSystemWalker CreateWalker(FileHandle rootFileHandle) { return(FileSystemWalkerFactory.CreateGenericWalker(this, rootFileHandle)); }