directory walk

Visiting every file and folder below a starting directory, as a build tool or file indexer does.

In more detail

Here "directory traversal" means listing folders; in security the same phrase names an attack that escapes a folder with ../ paths. Walking a large tree can mean thousands of system calls, so tools try to get each entry's type while listing it.

Related terms

Taught in

References