isCleanWorkingDirectory() public method

Returns true if there are no changes to commit.
Beispiel #1
0
 public function canRevert()
 {
     if (!$this->repository->isCleanWorkingDirectory()) {
         $this->clearOrphanedPosts();
     }
     return $this->repository->isCleanWorkingDirectory();
 }