function extendsToGetContentParams({ owner, path, url, extendsValue, }) {
    if (typeof extendsValue !== "string") {
        throw new Error(`[@probot/octokit-plugin-config] Invalid value ${JSON.stringify(extendsValue)} for _extends in ${url}`);
    }
    const match = extendsValue.match(EXTENDS_REGEX);
    if (match === null) {
        throw new Error(`[@probot/octokit-plugin-config] Invalid value "${extendsValue}" for _extends in ${url}`);
    }
    return {
        owner: match[1] || owner,
        repo: match[2],
        path: match[3] || path,
    };
}
Computes parameters to retrieve the configuration file specified in _extends

Base can either be the name of a repository in the same organization or
a full slug "organization/repo".

@param options
@return The params needed to retrieve a configuration file