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

Function emit_verbose

src/copy.c:1506–1514  ·  view source on GitHub ↗

Print --verbose output on standard output, e.g. 'new' -> 'old'. If BACKUP_DST_NAME is non-null, then also indicate that it is the name of a backup file. */

Source from the content-addressed store, hash-verified

1504 If BACKUP_DST_NAME is non-null, then also indicate that it is
1505 the name of a backup file. */
1506static void
1507emit_verbose (char const *format, char const *src, char const *dst,
1508 char const *backup_dst_name)
1509{
1510 printf (format, quoteaf_n (0, src), quoteaf_n (1, dst));
1511 if (backup_dst_name)
1512 printf (_(" (backup: %s)"), quoteaf (backup_dst_name));
1513 putchar ('\n');
1514}
1515
1516/* A wrapper around "setfscreatecon (NULL)" that exits upon failure. */
1517static void

Callers 1

copy_internalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected