Method: Chef::Provider::Subversion#action_checkout
- Defined in:
- lib/chef/provider/subversion.rb
#action_checkout ⇒ Object
41 42 43 44 45 46 47 48 49 |
# File 'lib/chef/provider/subversion.rb', line 41 def action_checkout assert_target_directory_valid! if target_dir_non_existant_or_empty? run_command((:command => checkout_command)) @new_resource.updated_by_last_action(true) else Chef::Log.debug "#{@new_resource} checkout destination #{@new_resource.destination} already exists or is a non-empty directory - nothing to do" end end |