/** * 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); }
/** * Writes the modified tree to disk * @param IOInterface $io The IO to write to */ public function write(IOInterface $io) { $this->tree->write($io); }