Sha256: 861c2fd4f568e57b2f6d29bf3976deac8ff3efe9f5d3108cf8df6bfe1be2db99
Contents?: true
Size: 608 Bytes
Versions: 10
Compression:
Stored size: 608 Bytes
Contents
# takelage bit check module module BitCheckModule # Backend method for bit check workspace. # @return [Boolean] is this a bit workspace? def bit_check_workspace log.debug 'Check if this is a bit workspace' cmd_bit_repo = config.active['cmd_bit_check_workspace_bit_list'] status_repo = try cmd_bit_repo cmd_pwd = config.active['cmd_bit_check_workspace_pwd'] stdout_str_dir = run cmd_pwd dir = stdout_str_dir.strip unless status_repo.exitstatus.zero? log.debug "No bit workspace found in \"#{dir}\"" return false end true end end
Version data entries
10 entries across 10 versions & 1 rubygems