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

Function fts_skip_tree

src/remove.c:364–370  ·  view source on GitHub ↗

Tell fts not to traverse into the hierarchy at ENT. */

Source from the content-addressed store, hash-verified

362
363/* Tell fts not to traverse into the hierarchy at ENT. */
364static void
365fts_skip_tree (FTS *fts, FTSENT *ent)
366{
367 fts_set (fts, ent, FTS_SKIP);
368 /* Ensure that we do not process ENT a second time. */
369 ignore_value (fts_read (fts));
370}
371
372/* Upon unlink failure, or when the user declines to remove ENT, mark
373 each of its ancestor directories, so that we know not to prompt for

Callers 1

rm_ftsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected