isHead property
bool
isHead
Returns true
if the current checked out commit is in a detached head
state.
Implementation
bool get isHead => branchName == 'HEAD';
Returns true
if the current checked out commit is in a detached head
state.
bool get isHead => branchName == 'HEAD';