summaryrefslogtreecommitdiff
path: root/entry.h
diff options
context:
space:
mode:
authorMatheus Tavares <matheus.bernardino@usp.br>2021-03-23 14:19:33 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-03-23 17:34:05 (GMT)
commit49cfd9032a5c1ef7401b79eff8db471b4c6ed7ef (patch)
tree8f44c4f2843e2bc65dfdc13019c254342fc880f6 /entry.h
parentd052cc038270d1231a245d7ac6d60559123464d3 (diff)
downloadgit-49cfd9032a5c1ef7401b79eff8db471b4c6ed7ef.zip
git-49cfd9032a5c1ef7401b79eff8db471b4c6ed7ef.tar.gz
git-49cfd9032a5c1ef7401b79eff8db471b4c6ed7ef.tar.bz2
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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/entry.h b/entry.h
index acbbb90..60df93c 100644
--- a/entry.h
+++ b/entry.h
@@ -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 */