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

@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)
  2. int git_odb_backend_one_pack(libgit2.types.git_odb_backend** out_, const(char)* index_file)
    version(!GIT_EXPERIMENTAL_SHA256)
    extern (C) nothrow @nogc public
    int
    git_odb_backend_one_pack

Meta