Module: Avm::Git::Issue::Complete::WorkingTree

Defined in:
lib/avm/git/issue/complete/working_tree.rb

Instance Method Summary collapse

Instance Method Details

#clean_workspace?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/avm/git/issue/complete/working_tree.rb', line 12

def clean_workspace?
  launcher_git.dirty_files.none?
end

#clean_workspace_resultObject



8
9
10
# File 'lib/avm/git/issue/complete/working_tree.rb', line 8

def clean_workspace_result
  ::Avm::Result.success_or_error(clean_workspace?, 'yes', 'no')
end