isCleanWorkingDirectory() 공개 메소드

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