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

Function hashfd

csum-file.c:188–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188struct hashfile *hashfd(const struct git_hash_algo *algop,
189 int fd, const char *name)
190{
191 /*
192 * Since we are not going to use a progress meter to
193 * measure the rate of data passing through this hashfile,
194 * use a larger buffer size to reduce fsync() calls.
195 */
196 struct hashfd_options opts = { 0 };
197 return hashfd_ext(algop, fd, name, &opts);
198}
199
200void hashfile_checkpoint_init(struct hashfile *f,
201 struct hashfile_checkpoint *checkpoint)

Callers 13

write_commit_graph_fileFunction · 0.85
hashfd_checkFunction · 0.85
write_midx_internalFunction · 0.85
write_idx_fileFunction · 0.85
write_rev_file_orderFunction · 0.85
write_mtimes_fileFunction · 0.85
create_tmp_packfileFunction · 0.85
do_write_indexFunction · 0.85
bitmap_writer_finishFunction · 0.85
cmd__pack_deltasFunction · 0.85
newMethod · 0.85
conclude_packFunction · 0.85

Calls 1

hashfd_extFunction · 0.85

Tested by 1

cmd__pack_deltasFunction · 0.68