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

Function ida_entries_equal

acls.c:176–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176static BOOL ida_entries_equal(const ida_entries *ial1, const ida_entries *ial2)
177{
178 id_access *ida1, *ida2;
179 int count = ial1->count;
180 if (count != ial2->count)
181 return False;
182 ida1 = ial1->idas;
183 ida2 = ial2->idas;
184 for (; count--; ida1++, ida2++) {
185 if (ida1->access != ida2->access || ida1->id != ida2->id)
186 return False;
187 }
188 return True;
189}
190
191static BOOL rsync_acl_equal(const rsync_acl *racl1, const rsync_acl *racl2)
192{

Callers 2

rsync_acl_equalFunction · 0.85
rsync_acl_equal_enoughFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected