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

Function copy_debug_string

src/copy.c:134–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132static struct copy_debug copy_debug;
133
134static char const *
135copy_debug_string (enum copy_debug_val debug_val)
136{
137 switch (debug_val)
138 {
139 case COPY_DEBUG_NO: return "no";
140 case COPY_DEBUG_YES: return "yes";
141 case COPY_DEBUG_AVOIDED: return "avoided";
142 case COPY_DEBUG_UNSUPPORTED: return "unsupported";
143 case COPY_DEBUG_UNKNOWN: return "unknown";
144
145 case COPY_DEBUG_EXTERNAL:
146 case COPY_DEBUG_EXTERNAL_INTERNAL:
147 default: unreachable ();
148 }
149}
150
151static char const *
152copy_debug_sparse_string (enum copy_debug_val debug_val)

Callers 1

emit_debugFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected