Method: Rugged::Repository#empty?

Defined in:
ext/rugged/rugged_repo.c

#empty?Boolean

Return whether a repository is empty or not. An empty repository has HEAD pointing to the default value and there are no other references.

Returns:

  • (Boolean)
[View source]

1461
1462
1463
1464
# File 'ext/rugged/rugged_repo.c', line 1461

static VALUE rb_git_repo_is_empty(VALUE self)
{
	RB_GIT_REPO_GETTER(is_empty);
}