Module: GitCheckWorkspace
- Defined in:
- lib/takelage/git/check/workspace.rb
Overview
takelage git check workspace
Instance Method Summary collapse
-
#git_check_workspace ⇒ Boolean
Backend method for git check workspace.
Instance Method Details
#git_check_workspace ⇒ Boolean
Backend method for git check workspace.
7 8 9 10 11 12 13 14 15 16 |
# File 'lib/takelage/git/check/workspace.rb', line 7 def git_check_workspace log.debug 'Check if this is a git workspace' status_repo = _git_check_workspace_get_status_repo dir = _git_check_workspace_get_dir unless status_repo.exitstatus.zero? log.debug "No git workspace found in \"#{dir}\"" return false end true end |