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

Function trace_write

trace.c:126–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126static void trace_write(struct trace_key *key, const void *buf, unsigned len)
127{
128 if (write_in_full(get_trace_fd(key, NULL), buf, len) < 0) {
129 warning("unable to write trace for %s: %s",
130 key->key, strerror(errno));
131 trace_disable(key);
132 }
133}
134
135void trace_verbatim(struct trace_key *key, const void *buf, unsigned len)
136{

Callers 2

trace_verbatimFunction · 0.85
print_trace_lineFunction · 0.85

Calls 4

write_in_fullFunction · 0.85
get_trace_fdFunction · 0.85
warningFunction · 0.85
trace_disableFunction · 0.85

Tested by

no test coverage detected