Gjsify LogoGjsify Logo

Represents a reflog.

record

Hierarchy

  • Reflog

Index

Constructors

Properties

name: string

Methods

  • Creates a reflog entry.

    Parameters

    • oid: OId

      a #GgitOId.

    • committer: Ggit.Signature

      a #GgitSignature.

    • message: string

      the message.

    Returns boolean

  • getEntryCount(): number
  • Gets the #GgitReflogEntry at idx in reflog, or %NULL if not found.

    Parameters

    • idx: number

      the position to lookup.

    Returns ReflogEntry

  • Atomically increments the reference count of reflog by one. This function is MT-safe and may be called from any thread.

    Returns Reflog

  • rename(newName: string): boolean
  • Renames the reflog for to new_name, on error error is set.

    Parameters

    • newName: string

      the new name of the reference.

    Returns boolean

  • unref(): void
  • Atomically decrements the reference count of reflog by one. If the reference count drops to 0, reflog is freed.

    Returns void

  • write(): boolean

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method