56 $this->directory = $dir;
59 $iter =
new AppendIterator();
60 foreach ( $suffixes as $suffix ) {
61 $iter->append( $this->
listFromShard( $this->container . $suffix ) );
64 parent::__construct( $iter );
68 $rel = $this->getInnerIterator()->current();
69 $path = $this->params[
'dir'] .
"/{$rel}";
70 if ( $this->backend->isSingleShardPathInternal(
$path ) ) {
72 } elseif ( isset( $this->multiShardPaths[$rel] ) ) {
76 $this->multiShardPaths[$rel] = 1;
84 $this->multiShardPaths = [];