/// <summary> /// Creates the remote repository /// </summary> /// <param name="org">Unique identifier of the organisation responsible for the app.</param> /// <param name="options">Options for the remote repository</param> /// <returns>The repostory from API</returns> public async Task <RepositoryClient.Model.Repository> CreateRepository(string org, Altinn.Studio.Designer.RepositoryClient.Model.CreateRepoOption options) { return(await _gitea.CreateRepository(org, options)); }
/// <summary> /// Creates the remote repository /// </summary> /// <param name="org">Unique identifier of the organisation responsible for the app.</param> /// <param name="options">Options for the remote repository</param> /// <returns>The repostory from API</returns> public Altinn.Studio.Designer.RepositoryClient.Model.Repository CreateRepository(string org, Altinn.Studio.Designer.RepositoryClient.Model.CreateRepoOption options) { return(_gitea.CreateRepository(org, options).Result); }
/// <summary> /// Creates the remote repository /// </summary> /// <param name="owner">The owner</param> /// <param name="createRepoOption">Options for the remote repository</param> /// <returns>The repostory from API</returns> public AltinnCore.RepositoryClient.Model.Repository CreateRepository(string owner, AltinnCore.RepositoryClient.Model.CreateRepoOption createRepoOption) { return(_gitea.CreateRepository(owner, createRepoOption).Result); }
/// <summary> /// Creates the remote repository /// </summary> /// <param name="org">Unique identifier of the organisation responsible for the app.</param> /// <param name="options">Options for the remote repository</param> /// <returns>The repostory from API</returns> public AltinnCore.RepositoryClient.Model.Repository CreateRepository(string org, AltinnCore.RepositoryClient.Model.CreateRepoOption options) { return(_gitea.CreateRepository(org, options).Result); }