git_odb_backend_one_pack

Create a backend out of a single packfile

This can be useful for inspecting the contents of a single packfile.

@param out_ location to store the odb backend pointer @param index_file path to the packfile's .idx file opts = ?

@return 0 or an error code

  1. int git_odb_backend_one_pack(libgit2.types.git_odb_backend** out_, const(char)* index_file, const(git_odb_backend_pack_options)* opts)
    version(GIT_EXPERIMENTAL_SHA256)
    extern (C) nothrow @nogc public
    int
    git_odb_backend_one_pack
  2. int git_odb_backend_one_pack(libgit2.types.git_odb_backend** out_, const(char)* index_file)

Meta