Sha256: 095e1d3c5c95e299403683c69991d1a7d208580ef4a2819e0beeb9d3f0a9e95a

Contents?: true

Size: 952 Bytes

Versions: 22

Compression:

Stored size: 952 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 "diff.h"
#include "diff_patch.h"
#include "xdiff/xdiff.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_diff_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_diff_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

22 entries across 22 versions & 1 rubygems

Version Path
rugged-0.24.6.1 vendor/libgit2/src/diff_xdiff.h
rugged-0.24.5 vendor/libgit2/src/diff_xdiff.h
rugged-0.25.0b5 vendor/libgit2/src/diff_xdiff.h
rugged-0.25.0b4 vendor/libgit2/src/diff_xdiff.h
rugged-0.25.0b3 vendor/libgit2/src/diff_xdiff.h
rugged-0.25.0b2 vendor/libgit2/src/diff_xdiff.h
rugged-0.25.0b1 vendor/libgit2/src/diff_xdiff.h
rugged-0.24.0 vendor/libgit2/src/diff_xdiff.h
rugged-0.24.0b14 vendor/libgit2/src/diff_xdiff.h
rugged-0.24.0b13 vendor/libgit2/src/diff_xdiff.h
rugged-0.24.0b12 vendor/libgit2/src/diff_xdiff.h
rugged-0.24.0b11 vendor/libgit2/src/diff_xdiff.h
rugged-0.24.0b9 vendor/libgit2/src/diff_xdiff.h
rugged-0.24.0b8 vendor/libgit2/src/diff_xdiff.h
rugged-0.24.0b7 vendor/libgit2/src/diff_xdiff.h
rugged-0.24.0b6 vendor/libgit2/src/diff_xdiff.h
rugged-0.24.0b5 vendor/libgit2/src/diff_xdiff.h
rugged-0.24.0b4 vendor/libgit2/src/diff_xdiff.h
rugged-0.24.0b3 vendor/libgit2/src/diff_xdiff.h
rugged-0.24.0b2 vendor/libgit2/src/diff_xdiff.h