clone.h 540 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
/*
 * 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_clone_h__
#define INCLUDE_clone_h__

10 11
#include "common.h"

12 13
#include "git2/clone.h"

14 15 16 17
extern int git_clone__submodule(git_repository **out,
	const char *url, const char *local_path,
	const git_clone_options *_options);

18 19 20
extern int git_clone__should_clone_local(const char *url, git_clone_local_t local);

#endif