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

Function is_directory

src/ls.c:3633–3637  ·  view source on GitHub ↗

Return true if F refers to a directory. */

Source from the content-addressed store, hash-verified

3631
3632/* Return true if F refers to a directory. */
3633static bool
3634is_directory (const struct fileinfo *f)
3635{
3636 return f->filetype == directory || f->filetype == arg_directory;
3637}
3638
3639/* Return true if F refers to a (symlinked) directory. */
3640static bool

Callers 1

extract_dirs_from_filesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected