class Librarian::Ansible::Source::Git
Private Instance Methods
install_perform_step_copy!(found_path, install_path)
click to toggle source
# File lib/librarian/ansible/source/git.rb, line 13 def install_perform_step_copy!(found_path, install_path) debug { "Copying #{relative_path_to(found_path)} to #{relative_path_to(install_path)}" } FileUtils.cp_r(found_path, install_path) if environment.config_db["install.strip-dot-git"] == "1" dot_git = install_path.join(".git") dot_git.rmtree if dot_git.directory? end end