/var/db/repos/gentoo

 is the default location value in the file for the main repository on Gentoo-based systems. Should an alternative location value be used, could it be detected by

For more information see /etc/portage/repos.conf/gentoo.conf.

This article can be used as a quick reference for commonly used files and directories in the Portage directory: