Ejemplo n.º 1
0
 /**
  * Writes the commit and its dependencies to IO
  * @internal
  */
 public function write(IOInterface $io)
 {
     $io->addObject($this);
     foreach ($this->parents as $parent) {
         $parent->write($io);
     }
     $this->tree->write($io);
 }
Ejemplo n.º 2
0
 /**
  * Writes the modified tree to disk
  * @param IOInterface $io The IO to write to
  */
 public function write(IOInterface $io)
 {
     $this->tree->write($io);
 }