Skip to content

isShallow

Tests whether this repository is a shallow clone.

Signature

ts
class Repository {
  isShallow(): boolean;
}

Returns

  • boolean

    Returns true if repository is a shallow clone.

Released under the MIT License.