| Author | Dave Jarvis <email> |
|---|---|
| Date | 2026-02-14 14:40:46 GMT-0800 |
| Commit | fd8ddf1c6c52f28c2b6dade46761f22994a18f9d |
| Parent | 58a559c |
| Delta | 2 lines added, 1 line removed, 1-line increase |
| $isDirectory = $mode === '40000' || $mode === '040000'; | ||
| $size = $isDirectory ? 0 : $this->getObjectSize( $sha ); | ||
| + $contents = $isDirectory ? '' : $this->peek( $sha, 12 ); | ||
| - $callback( new File( $name, $sha, $mode, 0, $size ) ); | ||
| + $callback( new File( $name, $sha, $mode, 0, $size, $contents ) ); | ||
| $position = $nullPos + 21; |