git_odb_backend_loose_options

Options for configuring a loose object backend.

Members

Variables

compression_level
int compression_level;

zlib compression level to use (0-9), where 1 is the fastest at the expense of larger files, and 9 produces the best compression at the expense of speed. 0 indicates that no compression should be performed. -1 is the default (currently optimizing for speed).

dir_mode
uint dir_mode;

Permissions to use creating a directory or 0 for defaults

file_mode
uint file_mode;

Permissions to use creating a file or 0 for defaults

flags
uint flags;

A combination of the git_odb_backend_loose_flag_t types.

oid_type
libgit2.oid.git_oid_t oid_type;

Type of object IDs to use for this object database, or 0 for default (currently SHA1).

version_
uint version_;

version for the struct

Meta