MCPcopy Index your code
hub / github.com/RsyncProject/rsync / alt_dest_opt

Function alt_dest_opt

options.c:1336–1351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1334}
1335
1336char *alt_dest_opt(int type)
1337{
1338 if (!type)
1339 type = alt_dest_type;
1340
1341 switch (type) {
1342 case COMPARE_DEST:
1343 return "--compare-dest";
1344 case COPY_DEST:
1345 return "--copy-dest";
1346 case LINK_DEST:
1347 return "--link-dest";
1348 default:
1349 NOISY_DEATH("Unknown alt_dest_opt type");
1350 }
1351}
1352
1353/**
1354 * Process command line arguments. Called on both local and remote.

Callers 4

parse_argumentsFunction · 0.85
server_optionsFunction · 0.85
setup_protocolFunction · 0.85
check_alt_basis_dirsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected