Method: OSDNClient::ProjectSCMApi#disable_project_git

Defined in:
lib/osdn-client/api/project_scm_api.rb

#disable_project_git(id_or_name, repo_id, opts = {}) ⇒ ProjectGit

Disable a git repository (not an actual delete, just a shorthand for updating with active=false)

Parameters:

  • id_or_name

    numeric project id or project name

  • repo_id
  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:



441
442
443
444
# File 'lib/osdn-client/api/project_scm_api.rb', line 441

def disable_project_git(id_or_name, repo_id, opts = {})
  data, _status_code, _headers = disable_project_git_with_http_info(id_or_name, repo_id, opts)
  return data
end