Module: GitCli::WsCommon

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

Instance Method Summary collapse

Instance Method Details

#check_reposObject



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

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

#check_vcsObject



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

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