mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:57:35 +00:00
Assistant: Don't index the /dev directory
This commit is contained in:
parent
085da369ff
commit
45a2bc27d5
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ void FileProvider::build_filesystem_cache()
|
|||
while (!m_work_queue.is_empty()) {
|
||||
auto base_directory = m_work_queue.dequeue();
|
||||
|
||||
if (base_directory.template is_one_of("/proc"sv, "/sys"sv))
|
||||
if (base_directory.template is_one_of("/dev"sv, "/proc"sv, "/sys"sv))
|
||||
continue;
|
||||
|
||||
Core::DirIterator di(base_directory, Core::DirIterator::SkipDots);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue