Method: Rugged::Repository#bare?

Defined in:
ext/rugged/rugged_repo.c

#bare?Boolean

Return whether a repository is bare or not. A bare repository has no working directory.

Returns:

  • (Boolean)
[View source]

1436
1437
1438
1439
# File 'ext/rugged/rugged_repo.c', line 1436

static VALUE rb_git_repo_is_bare(VALUE self)
{
	RB_GIT_REPO_GETTER(is_bare);
}