libgit2.odb_backend

Members

Enums

GIT_ODB_BACKEND_LOOSE_FSYNC
anonymousenum GIT_ODB_BACKEND_LOOSE_FSYNC
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
GIT_STREAM_RDONLY
anonymousenum GIT_STREAM_RDONLY
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_odb_backend_loose_flag_t
enum git_odb_backend_loose_flag_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_odb_stream_t
enum git_odb_stream_t

Streaming mode

Functions

GIT_ODB_BACKEND_LOOSE_OPTIONS_INIT
GIT_ODB_BACKEND_LOOSE_OPTIONS_INIT()

Stack initializer for odb loose backend options. Alternatively use git_odb_backend_loose_options_init programmatic initialization.

GIT_ODB_BACKEND_PACK_OPTIONS_INIT
GIT_ODB_BACKEND_PACK_OPTIONS_INIT()

Stack initializer for odb pack backend options. Alternatively use git_odb_backend_pack_options_init programmatic initialization.

git_odb_backend_loose
int git_odb_backend_loose(libgit2.types.git_odb_backend** out_, const(char)* objects_dir, .git_odb_backend_loose_options* opts)

Create a backend for loose objects

git_odb_backend_loose
int git_odb_backend_loose(libgit2.types.git_odb_backend** out_, const(char)* objects_dir, int compression_level, int do_fsync, uint dir_mode, uint file_mode)

Create a backend for loose objects

git_odb_backend_one_pack
int git_odb_backend_one_pack(libgit2.types.git_odb_backend** out_, const(char)* index_file, const(git_odb_backend_pack_options)* opts)

Create a backend out of a single packfile

git_odb_backend_one_pack
int git_odb_backend_one_pack(libgit2.types.git_odb_backend** out_, const(char)* index_file)

Create a backend out of a single packfile

git_odb_backend_pack
int git_odb_backend_pack(libgit2.types.git_odb_backend** out_, const(char)* objects_dir, const(.git_odb_backend_pack_options)* opts)

Create a backend for the packfiles.

git_odb_backend_pack
int git_odb_backend_pack(libgit2.types.git_odb_backend** out_, const(char)* objects_dir)

Create a backend for the packfiles.

Manifest constants

GIT_ODB_BACKEND_LOOSE_OPTIONS_VERSION
enum GIT_ODB_BACKEND_LOOSE_OPTIONS_VERSION;

The current version of the diff options structure

GIT_ODB_BACKEND_PACK_OPTIONS_VERSION
enum GIT_ODB_BACKEND_PACK_OPTIONS_VERSION;

The current version of the diff options structure

Structs

git_odb_backend_loose_options
struct git_odb_backend_loose_options

Options for configuring a loose object backend.

git_odb_backend_pack_options
struct git_odb_backend_pack_options

Options for configuring a packfile object backend.

git_odb_stream
struct git_odb_stream

A stream to read/write from a backend.

git_odb_writepack
struct git_odb_writepack

A stream to write a pack file to the ODB

Meta

License

GPL-2.0(Linking Exception)