export class StubGitRemoteGateway {
    projectPath;
    _isRepo;
    remoteUrl;
    platform;
    constructor(options) {
        this.projectPath = options.projectPath;
        this._isRepo = options.isRepo ?? true;
        if (Object.prototype.hasOwnProperty.call(options, 'remoteUrl')) {
            this.remoteUrl = options.remoteUrl ?? null;
        }
        else {
            this.remoteUrl = 'git@github.com:org/repo.git';
        }
        this.platform = options.platform ?? 'github';
    }
    isRepo(path) {
        return path === this.projectPath ? this._isRepo : false;
    }
    getOriginRemote(path) {
        return path === this.projectPath ? this.remoteUrl : null;
    }
    detectPlatform(_remoteUrl) {
        return this.platform;
    }
}
//# sourceMappingURL=gitRemote.stub.js.map