is_head_detached
Description:
Checks if this's HEAD is detached.
A repository's HEAD is detached when it points directly to a commit instead of a branch.
Parameters:
this |
a Repository. |
Returns:
true if HEAD is detached. |