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

Function acls_differ

generator.c:441–451  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

439
440#ifdef SUPPORT_ACLS
441static inline int acls_differ(const char *fname, struct file_struct *file, stat_x *sxp)
442{
443 if (preserve_acls) {
444 if (!ACL_READY(*sxp))
445 get_acl(fname, sxp);
446 if (set_acl(NULL, file, sxp, file->mode))
447 return 1;
448 }
449
450 return 0;
451}
452#endif
453
454#ifdef SUPPORT_XATTRS

Callers 1

unchanged_attrsFunction · 0.85

Calls 2

get_aclFunction · 0.85
set_aclFunction · 0.85

Tested by

no test coverage detected