Function createAccessor

  • The createAccessor function obtains an implementation of the GitAnnexAPI interface. The returned accessor exposes Git and git-annex behavior.

    Parameters

    • repositoryPath: string

      The path to the repository root directory. The directory must exist but may be empty.

    Returns GitAnnexAPI

    An interface for interacting with Git and git-annex.