It indexes files in your repo, but you can control which specific files to include when prompting and keep it very limited/controlled.