git/entry.c

#define USE_THE_REPOSITORY_VARIABLE

#include "git-compat-util.h"
#include "object-store-ll.h"
#include "dir.h"
#include "environment.h"
#include "gettext.h"
#include "hex.h"
#include "name-hash.h"
#include "sparse-index.h"
#include "streaming.h"
#include "submodule.h"
#include "symlinks.h"
#include "progress.h"
#include "fsmonitor.h"
#include "entry.h"
#include "parallel-checkout.h"

static void create_directories(const char *path, int path_len,
			       const struct checkout *state)
{}

static void remove_subtree(struct strbuf *path)
{}

static int create_file(const char *path, unsigned int mode)
{}

void *read_blob_entry(const struct cache_entry *ce, size_t *size)
{}

static int open_output_fd(char *path, const struct cache_entry *ce, int to_tempfile)
{}

int fstat_checkout_output(int fd, const struct checkout *state, struct stat *st)
{}

static int streaming_write_entry(const struct cache_entry *ce, char *path,
				 struct stream_filter *filter,
				 const struct checkout *state, int to_tempfile,
				 int *fstat_done, struct stat *statbuf)
{}

void enable_delayed_checkout(struct checkout *state)
{}

static int remove_available_paths(struct string_list_item *item, void *cb_data)
{}

static int string_is_not_null(struct string_list_item *item, void *data UNUSED)
{}

int finish_delayed_checkout(struct checkout *state, int show_progress)
{}

void update_ce_after_write(const struct checkout *state, struct cache_entry *ce,
			   struct stat *st)
{}

/* Note: ca is used (and required) iff the entry refers to a regular file. */
static int write_entry(struct cache_entry *ce, char *path, struct conv_attrs *ca,
		       const struct checkout *state, int to_tempfile,
		       int *nr_checkouts)
{}

/*
 * This is like 'lstat()', except it refuses to follow symlinks
 * in the path, after skipping "skiplen".
 */
static int check_path(const char *path, int len, struct stat *st, int skiplen)
{}

static void mark_colliding_entries(const struct checkout *state,
				   struct cache_entry *ce, struct stat *st)
{}

int checkout_entry_ca(struct cache_entry *ce, struct conv_attrs *ca,
		      const struct checkout *state, char *topath,
		      int *nr_checkouts)
{}

void unlink_entry(const struct cache_entry *ce, const char *super_prefix)
{}

int remove_or_warn(unsigned int mode, const char *file)
{}