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

Function add_ignore_pattern

src/ls.c:3119–3129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3117 not listed. */
3118
3119static void
3120add_ignore_pattern (char const *pattern)
3121{
3122 struct ignore_pattern *ignore;
3123
3124 ignore = xmalloc (sizeof *ignore);
3125 ignore->pattern = pattern;
3126 /* Add it to the head of the linked list. */
3127 ignore->next = ignore_patterns;
3128 ignore_patterns = ignore;
3129}
3130
3131/* Return true if one of the PATTERNS matches FILE. */
3132

Callers 1

decode_switchesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected