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

Function copy_debug_sparse_string

src/copy.c:151–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149}
150
151static char const *
152copy_debug_sparse_string (enum copy_debug_val debug_val)
153{
154 switch (debug_val)
155 {
156 case COPY_DEBUG_NO: return "no";
157 case COPY_DEBUG_YES: return "zeros";
158 case COPY_DEBUG_EXTERNAL: return "SEEK_HOLE";
159 case COPY_DEBUG_EXTERNAL_INTERNAL: return "SEEK_HOLE + zeros";
160 case COPY_DEBUG_UNKNOWN: return "unknown";
161
162 case COPY_DEBUG_AVOIDED:
163 case COPY_DEBUG_UNSUPPORTED:
164 default: unreachable ();
165 }
166}
167
168/* Print --debug output on standard output. */
169static void

Callers 1

emit_debugFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected