def METHOD_NAME(self, path):
    """Find the repo containing a path.
    Args:
        path (str): path in the filesystem
    Returns:
        repo object if a matching repo is found, otherwise None.
    """
    for repo in self.repos:
        if path in repo:
            return repo
    return None