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



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

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

#check_vcsObject



96
97
98
99
# File 'lib/git_cli.rb', line 96

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