X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=cache.h;h=7cb5b554b3de43bacbcfeaf328481c58ec98888c;hb=12dccc165400beae564d2357ce86c71937e5cdc0;hp=481f7c787040aadbbea877adbb3b9a4fd5f9b9d0;hpb=65c2e0c349aa5c7f605defb52dc67f1b3658a1b9;p=git.git diff --git a/cache.h b/cache.h index 481f7c78..7cb5b554 100644 --- a/cache.h +++ b/cache.h @@ -214,4 +214,15 @@ static inline void *xcalloc(size_t nmemb, size_t size) return ret; } +struct checkout { + const char *base_dir; + int base_dir_len; + unsigned force:1, + quiet:1, + not_new:1, + refresh_cache:1; +}; + +extern int checkout_entry(struct cache_entry *ce, struct checkout *state); + #endif /* CACHE_H */