MCPcopy Create free account
hub / github.com/RsyncProject/rsync / main

Function main

t_unsafe.c:36–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34short info_levels[COUNT_INFO], debug_levels[COUNT_DEBUG];
35
36int
37main(int argc, char **argv)
38{
39 if (argc != 3) {
40 fprintf(stderr, "usage: t_unsafe LINKDEST SRCDIR\n");
41 return 1;
42 }
43
44 printf("%s\n", unsafe_symlink(argv[1], argv[2]) ? "unsafe" : "safe");
45
46 return 0;
47}

Callers

nothing calls this directly

Calls 1

unsafe_symlinkFunction · 0.85

Tested by

no test coverage detected