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

Function extra_mode

src/install.c:159–164  ·  view source on GitHub ↗

Return true for mode with non-permission bits. */

Source from the content-addressed store, hash-verified

157
158/* Return true for mode with non-permission bits. */
159static bool
160extra_mode (mode_t input)
161{
162 mode_t mask = S_IRWXUGO | S_IFMT;
163 return !! (input & ~ mask);
164}
165
166/* Return true if copy of file SRC_NAME to file DEST_NAME aka
167 DEST_DIRFD+DEST_RELNAME is necessary. */

Callers 2

need_copyFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected