summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-04-02 21:43:14 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-04-02 21:43:14 (GMT)
commitc47679d0405f134703fcae0f8f0b7ef82ecf96d5 (patch)
tree2de6886f318b23dbbbfe9d3a68f6d6e6d66ee425 /cache.h
parenta65ce7f831aa5fcc596c6d23fcde543d98b39bd7 (diff)
parentae22751f9b4bbbebcd0366a48a118b5a575af72d (diff)
downloadgit-c47679d0405f134703fcae0f8f0b7ef82ecf96d5.zip
git-c47679d0405f134703fcae0f8f0b7ef82ecf96d5.tar.gz
git-c47679d0405f134703fcae0f8f0b7ef82ecf96d5.tar.bz2
Merge branch 'mt/parallel-checkout-part-1'
Preparatory API changes for parallel checkout. * mt/parallel-checkout-part-1: entry: add checkout_entry_ca() taking preloaded conv_attrs entry: move conv_attrs lookup up to checkout_entry() entry: extract update_ce_after_write() from write_entry() entry: make fstat_output() and read_blob_entry() public entry: extract a header file for entry.c functions convert: add classification for conv_attrs struct convert: add get_stream_filter_ca() variant convert: add [async_]convert_to_working_tree_ca() variants convert: make convert_attrs() and convert structs public
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/cache.h b/cache.h
index 57f2285..148d9ab 100644
--- a/cache.h
+++ b/cache.h
@@ -1621,30 +1621,6 @@ const char *show_ident_date(const struct ident_split *id,
*/
int ident_cmp(const struct ident_split *, const struct ident_split *);
-struct checkout {
- struct index_state *istate;
- const char *base_dir;
- int base_dir_len;
- struct delayed_checkout *delayed_checkout;
- struct checkout_metadata meta;
- unsigned force:1,
- quiet:1,
- not_new:1,
- clone:1,
- refresh_cache:1;
-};
-#define CHECKOUT_INIT { NULL, "" }
-
-#define TEMPORARY_FILENAME_LENGTH 25
-int checkout_entry(struct cache_entry *ce, const struct checkout *state, char *topath, int *nr_checkouts);
-void enable_delayed_checkout(struct checkout *state);
-int finish_delayed_checkout(struct checkout *state, int *nr_checkouts);
-/*
- * Unlink the last component and schedule the leading directories for
- * removal, such that empty directories get removed.
- */
-void unlink_entry(const struct cache_entry *ce);
-
struct cache_def {
struct strbuf path;
int flags;