summaryrefslogtreecommitdiff
path: root/src/checkout.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/checkout.h')
-rw-r--r--src/checkout.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/checkout.h b/src/checkout.h
index 27e682fe1..9a8098998 100644
--- a/src/checkout.h
+++ b/src/checkout.h
@@ -40,6 +40,10 @@ extern int git_checkout_iterator(
git_iterator *target,
const git_checkout_opts *opts);
+int git_checkout__safe_for_update_only(
+ const char *path,
+ mode_t expected_mode);
+
int git_checkout__write_content(
checkout_data *data,
const git_oid *oid,