MCPcopy Index your code
hub / github.com/git/git / copy_file_with_time

Function copy_file_with_time

copy.c:68–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68int copy_file_with_time(const char *dst, const char *src, int mode)
69{
70 int status = copy_file(dst, src, mode);
71 if (!status)
72 return copy_times(dst, src);
73 return status;
74}

Callers 1

copy_or_link_directoryFunction · 0.85

Calls 2

copy_fileFunction · 0.85
copy_timesFunction · 0.85

Tested by

no test coverage detected