is_head_detached


Description:

public bool is_head_detached () throws Error

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.