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

Function x_fstat

xattrs.c:1279–1285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1277}
1278
1279int x_fstat(int fd, STRUCT_STAT *fst, STRUCT_STAT *xst)
1280{
1281 int ret = do_fstat(fd, fst);
1282 if ((ret < 0 || get_stat_xattr(NULL, fd, fst, xst) < 0) && xst)
1283 xst->st_mode = 0;
1284 return ret;
1285}
1286
1287#endif /* SUPPORT_XATTRS */

Callers

nothing calls this directly

Calls 2

do_fstatFunction · 0.85
get_stat_xattrFunction · 0.85

Tested by

no test coverage detected