If we have a directory with this structure:
.
├── .continueignore
├── my_python_file.py
└── nested_directory/
├── .continueignore
├── should_ignore.py
└── should_find.py
The .continueignore at root directory:
The .continueignore at nested_directory/
The result of getFileResults looks like this:
nested_directory/should_find.py
nested_directory/should_ignore.py
instead of this as what we expect:
nested_directory/should_find.py
It's because we only pass the ignore file at the root level of the workspace in this function.

This problem also happens for .gitignore.
Potential Solution
The potential solution would be finding all the ignore files at all the child directories and pass them to ripgrep with --ignore-file flag.
Here is the result of passing all the ignore files with ripgrep as a CLI:
which is what we expect.