#ifndef ENTRY_H
#define ENTRY_H
#include "convert.h"
struct cache_entry;
struct index_state;
struct checkout { … };
#define CHECKOUT_INIT …
#define TEMPORARY_FILENAME_LENGTH …
int checkout_entry_ca(struct cache_entry *ce, struct conv_attrs *ca,
const struct checkout *state, char *topath,
int *nr_checkouts);
static inline 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 show_progress);
void unlink_entry(const struct cache_entry *ce, const char *super_prefix);
void *read_blob_entry(const struct cache_entry *ce, size_t *size);
int fstat_checkout_output(int fd, const struct checkout *state, struct stat *st);
void update_ce_after_write(const struct checkout *state, struct cache_entry *ce,
struct stat *st);
int remove_or_warn(unsigned int mode, const char *path);
#endif