Skip to content

isBare

Tests whether this repository is a bare repository or not.

Signature

ts
class Repository {
  isBare(): boolean;
}

Returns

  • boolean

    Returns true if repository is a bare.

Released under the MIT License.