libgit2.email

Members

Enums

git_email_create_flags_t
enum git_email_create_flags_t

Formatting options for diff e-mail generation

Functions

GIT_EMAIL_CREATE_OPTIONS_INIT
GIT_EMAIL_CREATE_OPTIONS_INIT()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_email_create_from_commit
int git_email_create_from_commit(libgit2.buffer.git_buf* out_, libgit2.types.git_commit* commit, const(.git_email_create_options)* opts)

Create a diff for a commit in mbox format for sending via email. The commit must not be a merge commit.

git_email_create_from_diff
int git_email_create_from_diff(libgit2.buffer.git_buf* out_, libgit2.diff.git_diff* diff, size_t patch_idx, size_t patch_count, const(libgit2.oid.git_oid)* commit_id, const(char)* summary, const(char)* body_, const(libgit2.types.git_signature)* author, const(.git_email_create_options)* opts)

Create a diff for a commit in mbox format for sending via email.

Manifest constants

GIT_EMAIL_CREATE_OPTIONS_VERSION
enum GIT_EMAIL_CREATE_OPTIONS_VERSION;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Structs

git_email_create_options
struct git_email_create_options

Options for controlling the formatting of the generated e-mail.

Meta

License

GPL-2.0(Linking Exception)