Sha256: 8d083e69b9b90a5b937fdbead37dcc8e000495a16a7139ec600dda735285561a

Contents?: true

Size: 998 Bytes

Versions: 21

Compression:

Stored size: 998 Bytes

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_diff_xdiff_h__
#define INCLUDE_diff_xdiff_h__

#include "common.h"

#include "diff.h"
#include "xdiff/xdiff.h"
#include "patch_generate.h"

/* xdiff cannot cope with large files.  these files should not be passed to
 * xdiff.  callers should treat these large files as binary.
 */
#define GIT_XDIFF_MAX_SIZE (1024LL * 1024 * 1023)

/* A git_xdiff_output is a git_patch_generate_output with extra fields
 * necessary to use libxdiff.  Calling git_xdiff_init() will set the diff_cb
 * field of the output to use xdiff to generate the diffs.
 */
typedef struct {
	git_patch_generated_output output;

	xdemitconf_t config;
	xpparam_t    params;
	xdemitcb_t   callback;
} git_xdiff_output;

void git_xdiff_init(git_xdiff_output *xo, const git_diff_options *opts);

#endif

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
rugged-1.1.1 vendor/libgit2/src/diff_xdiff.h
rugged-1.1.0 vendor/libgit2/src/diff_xdiff.h
rugged-1.0.1 vendor/libgit2/src/diff_xdiff.h
rugged-0.28.5 vendor/libgit2/src/diff_xdiff.h
rugged-1.0.0 vendor/libgit2/src/diff_xdiff.h
rugged-0.99.0 vendor/libgit2/src/diff_xdiff.h
rugged-0.27.10.1 vendor/libgit2/src/diff_xdiff.h
rugged-0.28.4.1 vendor/libgit2/src/diff_xdiff.h
rugged-0.28.4 vendor/libgit2/src/diff_xdiff.h
rugged-0.27.10 vendor/libgit2/src/diff_xdiff.h
rugged-0.28.3.1 vendor/libgit2/src/diff_xdiff.h
rugged-0.27.9 vendor/libgit2/src/diff_xdiff.h
rugged-0.28.2 vendor/libgit2/src/diff_xdiff.h
rugged-0.28.1 vendor/libgit2/src/diff_xdiff.h
rugged-0.28.0 vendor/libgit2/src/diff_xdiff.h
rugged-0.27.7 vendor/libgit2/src/diff_xdiff.h
rugged-0.27.5 vendor/libgit2/src/diff_xdiff.h
rugged-0.27.4 vendor/libgit2/src/diff_xdiff.h
rugged-0.27.2 vendor/libgit2/src/diff_xdiff.h
rugged-0.27.1 vendor/libgit2/src/diff_xdiff.h