# Configuration scopes internals

:::{warning}
Be careful with these! Internal APIs are **not** covered by version policies. They can break or be removed between minor versions!

If you need an internal API stabilized please [file an issue](https://github.com/vcs-python/vcspull/issues).
:::

{mod}`vcspull._internal.scopes` resolves active configuration files across
system, user, and ancestor project scopes and evaluates destination containment
against the trusted project directory set — the resolver beneath
{func}`vcspull.config.load_scoped_configs`, {ref}`vcspull config <cli-config>`,
and {ref}`vcspull trust <cli-trust>`. See {ref}`config-scopes` for user-facing
semantics.

```{eval-rst}
.. automodule:: vcspull._internal.scopes
   :members:
   :show-inheritance:
   :undoc-members:
```
