Module: GitCli::WsCommon

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

Overview

Gvcs::Vcs

Instance Method Summary collapse

Instance Method Details

#check_reposObject



104
105
106
# File 'lib/git_cli.rb', line 104

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

#check_vcsObject



99
100
101
102
# File 'lib/git_cli.rb', line 99

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