Sha256: cff7dd41d55eca1c3981d0fbeeddba80f59e3c651d0fa0ef9209328e525a468e

Contents?: true

Size: 567 Bytes

Versions: 54

Compression:

Stored size: 567 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.
 */

#include "strmap.h"

int git_strmap_next(
	void **data,
	git_strmap_iter* iter,
	git_strmap *map)
{
	if (!map)
		return GIT_ERROR;

	while (*iter != git_strmap_end(map)) {
		if (!(git_strmap_has_data(map, *iter))) {
			++(*iter);
			continue;
		}

		*data = git_strmap_value_at(map, *iter);

		++(*iter);

		return GIT_OK;
	}

	return GIT_ITEROVER;
}

Version data entries

54 entries across 54 versions & 1 rubygems

Version Path
rugged-0.26.0b3 vendor/libgit2/src/strmap.c
rugged-0.26.0b2 vendor/libgit2/src/strmap.c
rugged-0.26.0b1 vendor/libgit2/src/strmap.c
rugged-0.25.1.1 vendor/libgit2/src/strmap.c
rugged-0.24.6.1 vendor/libgit2/src/strmap.c
rugged-0.25.1 vendor/libgit2/src/strmap.c
rugged-0.24.5 vendor/libgit2/src/strmap.c
rugged-0.25.0 vendor/libgit2/src/strmap.c
rugged-0.25.0b10 vendor/libgit2/src/strmap.c
rugged-0.25.0b9 vendor/libgit2/src/strmap.c
rugged-0.25.0b8 vendor/libgit2/src/strmap.c
rugged-0.25.0b7 vendor/libgit2/src/strmap.c
rugged-0.25.0b6 vendor/libgit2/src/strmap.c
rugged-0.25.0b5 vendor/libgit2/src/strmap.c
rugged-0.25.0b4 vendor/libgit2/src/strmap.c
rugged-0.25.0b3 vendor/libgit2/src/strmap.c
rugged-0.25.0b2 vendor/libgit2/src/strmap.c
rugged-0.25.0b1 vendor/libgit2/src/strmap.c
rugged-0.24.0 vendor/libgit2/src/strmap.c
rugged-0.24.0b14 vendor/libgit2/src/strmap.c