git_odb_backend_pack

Create a backend for the packfiles.

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

Parameters

out_ libgit2.types.git_odb_backend**

location to store the odb backend pointer

objects_dir const(char)*

the Git repository's objects directory

opts const(.git_odb_backend_pack_options)*

?

Return Value

Type: int

0 or an error code

Meta