Documentation
    Preparing search index...

    Class GitObjectStore

    Content-addressed object store.

    const store = new GitObjectStore();
    const oid = store.put('blob', utf8Bytes('Hi\n'));
    store.get(oid)?.kind === 'blob';
    Index

    Constructors

    Accessors

    Methods

    Constructors

    Accessors

    Methods

    • Whether ancestor is reachable from descendant (inclusive).

      Parameters

      • ancestor: string

        Candidate ancestor commit id.

      • descendant: string

        Starting commit id.

      Returns boolean

      true when reachable.