Gets the SHA of the HEAD commit (alias for get_current_commit).
(&self)
| 174 | |
| 175 | /// Gets the SHA of the HEAD commit (alias for get_current_commit). |
| 176 | pub fn get_head_commit(&self) -> Result<String> { |
| 177 | self.get_current_commit() |
| 178 | } |
| 179 | |
| 180 | /// Gets the name of the current branch. |
| 181 | pub fn current_branch(&self) -> Result<String> { |
no test coverage detected