Skip to content
Snippets Groups Projects
Commit 34f61010 authored by vlorentz's avatar vlorentz
Browse files

from_disk: Do not recurse in ignored directories

Using os.walk() does not make much sense when we want to control what
directories to recurse into.

Additionally, this uses os.scandir directly, which allows us to directly
sort symlinks and files apart from directories (while os.walk groups
symlinks with directories) without two extra system calls.
parent 8689b0c0
No related branches found
Tags v6.13.1
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment