1 /* 2 * Copyright (C) the libgit2 contributors. All rights reserved. 3 * 4 * This file is part of libgit2, distributed under the GNU GPL v2 with 5 * a Linking Exception. For full terms see the included COPYING file. 6 */ 7 #ifndef INCLUDE_clone_h__ 8 #define INCLUDE_clone_h__ 9 10 #include "common.h" 11 12 #include "git2/clone.h" 13 14 extern int git_clone__submodule(git_repository **out, 15 const char *url, const char *local_path, 16 const git_clone_options *_options); 17 18 extern int git_clone__should_clone_local(const char *url, git_clone_local_t local); 19 20 #endif 21