Module: GitCli::WsCommon

Included in:
Workspace
Defined in:
lib/git_cli.rb

Overview

Gvcs::Vcs

Instance Method Summary collapse

Instance Method Details

#check_reposObject



120
121
122
# File 'lib/git_cli.rb', line 120

def check_repos
  raise_if_empty(@repos, "Repository must not be null", GitCliException)
end

#check_vcsObject



115
116
117
118
# File 'lib/git_cli.rb', line 115

def check_vcs
  raise_if_empty(@vcs, "VCS must not be null", GitCliException)
  raise_if_empty(@wsPath, "Workspace path must not be null", GitCliException)
end