MCPcopy Create free account
hub / github.com/coreutils/coreutils / emit_debug

Function emit_debug

src/copy.c:169–177  ·  view source on GitHub ↗

Print --debug output on standard output. */

Source from the content-addressed store, hash-verified

167
168/* Print --debug output on standard output. */
169static void
170emit_debug (const struct cp_options *x)
171{
172 if (! x->hard_link && ! x->symbolic_link && x->data_copy_required)
173 printf ("copy offload: %s, reflink: %s, sparse detection: %s\n",
174 copy_debug_string (copy_debug.offload),
175 copy_debug_string (copy_debug.reflink),
176 copy_debug_sparse_string (copy_debug.sparse_detection));
177}
178
179#ifndef DEV_FD_MIGHT_BE_CHR
180# define DEV_FD_MIGHT_BE_CHR false

Callers 1

copy_regFunction · 0.85

Calls 2

copy_debug_stringFunction · 0.85
copy_debug_sparse_stringFunction · 0.85

Tested by

no test coverage detected