Skip to content

get

Get a reflog entry by index.

Signature

ts
class Reflog {
  get(i: number): ReflogEntry | null;
}

Parameters

  • irequired · number

    Index of the entry to get.

Returns

  • null | ReflogEntry

    Reflog entry at the given index. Returns null if the index is out of bounds.

Released under the MIT License.