Function resolve

  • Resolves a ref to it's sha hash by walking the fs and packed refs.

    Parameters

    • __namedParameters: {
          depth?: number;
          dir?: string;
          fs: EncryptedFS;
          gitdir?: string;
          ref: string;
      }
      • Optional depth?: number
      • Optional dir?: string
      • fs: EncryptedFS
      • Optional gitdir?: string
      • ref: string

    Returns Promise<string>

    the resolved sha hash.

Generated using TypeDoc