willCommit() 공개 메소드

Returns true if there is something to commit
public willCommit ( ) : boolean
리턴 boolean
예제 #1
0
 private function revertToCommit($commitHash)
 {
     $this->repository->revertAll($commitHash);
     if (!$this->repository->willCommit()) {
         return RevertStatus::NOTHING_TO_COMMIT;
     }
     return RevertStatus::OK;
 }