$ok =
$this->pool->
commit() &&
$ok;
$tagVersions =
array_keys($tagVersions);
(self::
$setTagVersions)($items,
array_combine($tagVersions,
$tagVersions));
return $ok;
} public function prune(): bool
{ return $this->pool instanceof PruneableInterface &&
$this->pool->
prune();
} /**
* @return void
*/
public function reset() { $this->
commit();
$this->knownTagVersions =
[];
$this->pool instanceof ResettableInterface &&
$this->pool->
reset();
$this->tags instanceof ResettableInterface &&
$this->tags->
reset();
}