MCPcopy Create free account
hub / github.com/coreutils/coreutils / assert_matching_dev_ino

Function assert_matching_dev_ino

src/ls.c:1089–1096  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1087}
1088
1089static void
1090assert_matching_dev_ino (char const *name, struct dev_ino di)
1091{
1092 MAYBE_UNUSED struct stat sb;
1093 assure (0 <= stat (name, &sb));
1094 assure (sb.st_dev == di.st_dev);
1095 assure (sb.st_ino == di.st_ino);
1096}
1097
1098static char eolbyte = '\n';
1099

Callers 1

mainFunction · 0.85

Calls 1

statClass · 0.70

Tested by

no test coverage detected