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

Function to_wire_mode

ifuncs.h:43–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43static inline int
44to_wire_mode(mode_t mode)
45{
46#ifdef SUPPORT_LINKS
47#if _S_IFLNK != 0120000
48 if (S_ISLNK(mode))
49 return (mode & ~(_S_IFMT)) | 0120000;
50#endif
51#endif
52 return mode;
53}
54
55static inline mode_t
56from_wire_mode(int mode)

Callers 2

send_file_entryFunction · 0.85
set_stat_xattrFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected