From 49cfd9032a5c1ef7401b79eff8db471b4c6ed7ef Mon Sep 17 00:00:00 2001 From: Matheus Tavares Date: Tue, 23 Mar 2021 11:19:33 -0300 Subject: 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 Signed-off-by: Junio C Hamano --- entry.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'entry.h') diff --git a/entry.h b/entry.h index acbbb90220..60df93ca78 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 */ -- cgit v1.2.3