MCPcopy Create free account
hub / github.com/git/git / hashfile_total

Function hashfile_total

csum-file.h:91–94  ·  view source on GitHub ↗

* Returns the total number of bytes fed to the hashfile so far (including ones * that have not been written out to the descriptor yet). */

Source from the content-addressed store, hash-verified

89 * that have not been written out to the descriptor yet).
90 */
91static inline off_t hashfile_total(struct hashfile *f)
92{
93 return f->total + f->offset;
94}
95
96static inline void hashwrite_u8(struct hashfile *f, uint8_t data)
97{

Callers 7

write_chunkfileFunction · 0.85
do_write_indexFunction · 0.85
write_pseudo_mergesFunction · 0.85
write_reused_pack_oneFunction · 0.85
write_reused_packFunction · 0.85
write_pack_fileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected