Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/git/git
/ write_or_die
Function
write_or_die
write-or-die.c:91–97 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
89
}
90
91
void write_or_die(int fd, const void *buf, size_t count)
92
{
93
if (write_in_full(fd, buf, count) < 0) {
94
check_pipe(errno);
95
die_errno(
"write error"
);
96
}
97
}
98
99
void fwrite_or_die(FILE *f, const void *buf, size_t count)
100
{
Callers
15
write_zip_data_desc
Function · 0.85
write_zip_entry
Function · 0.85
write_zip64_trailer
Function · 0.85
write_zip_trailer
Function · 0.85
send_client_data
Function · 0.85
create_pack_file
Function · 0.85
tar_write_block
Function · 0.85
tgz_deflate
Function · 0.85
rpc_in
Function · 0.85
rpc_service
Function · 0.85
fetch_git
Function · 0.85
push_git
Function · 0.85
Calls
3
write_in_full
Function · 0.85
check_pipe
Function · 0.85
die_errno
Function · 0.85
Tested by
2
unpack_sideband
Function · 0.68
test_if_untracked_cache_is_supported
Function · 0.68