GitRepo.isShallow

Determine if this repository is a shallow clone.

struct GitRepo
@property
bool
isShallow
(
)

Examples

auto repo = initRepo(_userRepo, OpenBare.yes);
scope(exit) rmdirRecurse(_userRepo);
assert(!repo.isShallow);

Meta