aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/downloader
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/downloader')
-rw-r--r--crates/shirabe/src/downloader/path_downloader.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/crates/shirabe/src/downloader/path_downloader.rs b/crates/shirabe/src/downloader/path_downloader.rs
index 66f84b6..6d0e098 100644
--- a/crates/shirabe/src/downloader/path_downloader.rs
+++ b/crates/shirabe/src/downloader/path_downloader.rs
@@ -472,7 +472,11 @@ impl DownloaderInterface for PathDownloader {
);
}
let _iterator = ArchivableFilesFinder::new(&real_url, vec![], false)?;
- // TODO(phase-b): pass iterator as PhpMixed; ArchivableFilesFinder iterator wrapping not modelled yet.
+ // PHP: $symfonyFilesystem->mirror($realUrl, $path, $iterator);
+ // TODO(phase-c): Symfony Filesystem::mirror takes a Traversable iterator as its third
+ // argument, but the external-package Filesystem stub does not model the iterator type
+ // that ArchivableFilesFinder (an IteratorAggregate) would be wrapped into, so None is
+ // passed and the mirrored file list is not restricted.
symfony_filesystem.mirror(&real_url, &path, None, &IndexMap::new())?;
}