summaryrefslogtreecommitdiff
path: root/src/clone.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2013-12-23 11:12:31 +0000
committerCarlos Martín Nieto <cmn@dwim.me>2014-05-28 15:40:22 +0200
commit121b26738e6a5e6eadeb2a2bc666956ae21cb92b (patch)
tree9f97b747cf21db85b255ae19b5b86ad768a7ba04 /src/clone.h
parenta0b5f7854c2302105e1029933df5d94a765cb89f (diff)
downloadlibgit2-121b26738e6a5e6eadeb2a2bc666956ae21cb92b.tar.gz
clone: add flags to override whether to perform a local clone
Diffstat (limited to 'src/clone.h')
-rw-r--r--src/clone.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/clone.h b/src/clone.h
new file mode 100644
index 000000000..14ca5d44c
--- /dev/null
+++ b/src/clone.h
@@ -0,0 +1,12 @@
+/*
+ * 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__
+
+extern int git_clone__should_clone_local(const char *url, git_clone_local_t local);
+
+#endif