Sha256: c90da62e7696a61eed3f21ecb7c9feb39569130746a6bd317e3e82e18c070bcd

Contents?: true

Size: 1.26 KB

Versions: 17

Compression:

Stored size: 1.26 KB

Contents

/*
 * Copyright (C) the libgit2 contributors. All rights reserved.
 *
 * This file is part of libgit2, distributed under the GNU GPL v2 with
 * a Linking Exception. For full terms see the included COPYING file.
 */
#ifndef INCLUDE_sys_git_email_h__
#define INCLUDE_sys_git_email_h__

/**
 * @file git2/sys/email.h
 * @brief Advanced git email creation routines
 * @defgroup git_email Advanced git email creation routines
 * @ingroup Git
 * @{
 */
GIT_BEGIN_DECL

/**
 * Create a diff for a commit in mbox format for sending via email.
 *
 * @param out buffer to store the e-mail patch in
 * @param diff the changes to include in the email
 * @param patch_idx the patch index
 * @param patch_count the total number of patches that will be included
 * @param commit_id the commit id for this change
 * @param summary the commit message for this change
 * @param body optional text to include above the diffstat
 * @param author the person who authored this commit
 * @param opts email creation options
 */
GIT_EXTERN(int) git_email_create_from_diff(
	git_buf *out,
	git_diff *diff,
	size_t patch_idx,
	size_t patch_count,
	const git_oid *commit_id,
	const char *summary,
	const char *body,
	const git_signature *author,
	const git_email_create_options *opts);

/** @} */
GIT_END_DECL
#endif

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
rugged-1.7.2 vendor/libgit2/include/git2/sys/email.h
rugged-1.6.5 vendor/libgit2/include/git2/sys/email.h
rugged-1.7.1 vendor/libgit2/include/git2/sys/email.h
rugged-1.6.3 vendor/libgit2/include/git2/sys/email.h
rugged-1.6.2 vendor/libgit2/include/git2/sys/email.h
rugged-1.5.1 vendor/libgit2/include/git2/sys/email.h
rugged-1.4.5 vendor/libgit2/include/git2/sys/email.h
rugged-1.5.0.1 vendor/libgit2/include/git2/sys/email.h
rugged-1.5.0 vendor/libgit2/include/git2/sys/email.h
rugged-1.3.2.3 vendor/libgit2/include/git2/sys/email.h
rugged-1.4.4 vendor/libgit2/include/git2/sys/email.h
rugged-1.3.2.1 vendor/libgit2/include/git2/sys/email.h
rugged-1.4.3 vendor/libgit2/include/git2/sys/email.h
rugged-1.3.2 vendor/libgit2/include/git2/sys/email.h
rugged-1.4.2 vendor/libgit2/include/git2/sys/email.h
rugged-1.3.1 vendor/libgit2/include/git2/sys/email.h
rugged-1.3.0 vendor/libgit2/include/git2/sys/email.h