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

Function x_lstat

xattrs.c:1271–1277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1269}
1270
1271int x_lstat(const char *fname, STRUCT_STAT *fst, STRUCT_STAT *xst)
1272{
1273 int ret = do_lstat_at(fname, fst);
1274 if ((ret < 0 || get_stat_xattr(fname, -1, fst, xst) < 0) && xst)
1275 xst->st_mode = 0;
1276 return ret;
1277}
1278
1279int x_fstat(int fd, STRUCT_STAT *fst, STRUCT_STAT *xst)
1280{

Callers 4

make_backupFunction · 0.85
link_statFunction · 0.85
make_fileFunction · 0.85
set_stat_xattrFunction · 0.85

Calls 2

do_lstat_atFunction · 0.85
get_stat_xattrFunction · 0.85

Tested by

no test coverage detected