Sha256: ec9ac7c18025da7b5be4dd0d85a44cca828e8d2e47b4176f244181b39d8062fb

Contents?: true

Size: 1.07 KB

Versions: 7

Compression:

Stored size: 1.07 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_revwalk_h__
#define INCLUDE_revwalk_h__

#include "git2/revwalk.h"
#include "oidmap.h"
#include "commit_list.h"
#include "pqueue.h"
#include "pool.h"
#include "vector.h"

GIT__USE_OIDMAP;

struct git_revwalk {
	git_repository *repo;
	git_odb *odb;

	git_oidmap *commits;
	git_pool commit_pool;

	git_commit_list *iterator_topo;
	git_commit_list *iterator_rand;
	git_commit_list *iterator_reverse;
	git_pqueue iterator_time;

	int (*get_next)(git_commit_list_node **, git_revwalk *);
	int (*enqueue)(git_revwalk *, git_commit_list_node *);

	unsigned walking:1,
		first_parent: 1,
		did_hide: 1,
		did_push: 1;
	unsigned int sorting;

	/* the pushes and hides */
	git_commit_list *user_input;

	/* hide callback */
	git_revwalk_hide_cb hide_cb;
	void *hide_cb_payload;
};

git_commit_list_node *git_revwalk__commit_lookup(git_revwalk *walk, const git_oid *oid);

#endif

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rugged-0.22.2 vendor/libgit2/src/revwalk.h
rugged-0.22.1b1 vendor/libgit2/src/revwalk.h
rugged-0.22.0b5 vendor/libgit2/src/revwalk.h
rugged-0.22.0b4 vendor/libgit2/src/revwalk.h
rugged-0.22.0b3 vendor/libgit2/src/revwalk.h
rugged-0.22.0b2 vendor/libgit2/src/revwalk.h
rugged-0.22.0b1 vendor/libgit2/src/revwalk.h