diff options
author | Matheus Tavares <matheus.bernardino@usp.br> | 2021-03-23 15:19:33 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-03-23 18:34:05 +0100 |
commit | 49cfd9032a5c1ef7401b79eff8db471b4c6ed7ef (patch) | |
tree | 8f44c4f2843e2bc65dfdc13019c254342fc880f6 /entry.h | |
parent | entry: extract a header file for entry.c functions (diff) | |
download | git-49cfd9032a5c1ef7401b79eff8db471b4c6ed7ef.tar.xz git-49cfd9032a5c1ef7401b79eff8db471b4c6ed7ef.zip |
entry: make fstat_output() and read_blob_entry() public
These two functions will be used by the parallel checkout code, so let's
make them public. Note: fstat_output() is renamed to
fstat_checkout_output(), now that it has become public, seeking to avoid
future name collisions.
Signed-off-by: Matheus Tavares <matheus.bernardino@usp.br>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'entry.h')
-rw-r--r-- | entry.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -39,4 +39,7 @@ int finish_delayed_checkout(struct checkout *state, int *nr_checkouts); */ void unlink_entry(const struct cache_entry *ce); +void *read_blob_entry(const struct cache_entry *ce, unsigned long *size); +int fstat_checkout_output(int fd, const struct checkout *state, struct stat *st); + #endif /* ENTRY_H */ |