Skip to content

Commit ae6f782

Browse files
committed
test size problem
1 parent 4937935 commit ae6f782

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Gitonomy/Git/Repository.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,9 @@ public function getSize()
434434
$totalBytes = 0;
435435
$path = realpath($this->gitDir);
436436
if ($path && file_exists($path)) {
437+
echo "\n";
437438
foreach (new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($path, \FilesystemIterator::SKIP_DOTS)) as $object) {
439+
echo $object->getPath().'/'.$object->getFileName().':'.$object->getSize()."\n";
438440
$totalBytes += $object->getSize();
439441
}
440442
}

0 commit comments

Comments
 (0)