Returns true if there are no changes to commit.
public isCleanWorkingDirectory ( ) : boolean | ||
리턴 | boolean |
public function canRevert() { if (!$this->repository->isCleanWorkingDirectory()) { $this->clearOrphanedPosts(); } return $this->repository->isCleanWorkingDirectory(); }