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

Parameters

out_ libgit2.types.git_odb_backend**

location to store the odb backend pointer

objects_dir const(char)*

the Git repository's objects directory

Return Value

Type: int

0 or an error code

Meta