Method: Rugged::Repository#shallow?

Defined in:
ext/rugged/rugged_repo.c

#shallow?Boolean

Return whether a repository is a shallow clone or not. A shallow clone has a truncated history and can not be cloned or fetched from, nor can be pushed from nor into it.

Returns:

  • (Boolean)
[View source]

1449
1450
1451
1452
# File 'ext/rugged/rugged_repo.c', line 1449

static VALUE rb_git_repo_is_shallow(VALUE self)
{
	RB_GIT_REPO_GETTER(is_shallow);
}