Skip to content

name ​

Get the remote's name.

Signature ​

ts
class Remote {
  name(): string | null;
}

Returns ​

  • null | string

    Returns null if this remote has not yet been named.

Errors ​

  • Error

    Throws error if the name is not valid utf-8.

Released under the MIT License.