Sha256: 1c826b5ca956aa8fa6f23b6add1b57048ebfc07717838d9ae8b6c68b1f53e0fd

Contents?: true

Size: 341 Bytes

Versions: 7

Compression:

Stored size: 341 Bytes

Contents

module ActiveGit
  class FolderRemove

    def initialize(working_path)
      @working_path = working_path
    end

    def synchronize(synchronizer)
      synchronizer.define_job do
        ActiveGit.configuration.logger.debug "[ActiveGit] Removing folder #{@working_path}"
        FileUtils.rm_rf @working_path
      end
    end

  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
active_git-0.0.10 lib/active_git/events/folder_remove.rb
active_git-0.0.9 lib/active_git/events/folder_remove.rb
active_git-0.0.8 lib/active_git/events/folder_remove.rb
active_git-0.0.7 lib/active_git/events/folder_remove.rb
active_git-0.0.6 lib/active_git/events/folder_remove.rb
active_git-0.0.5 lib/active_git/events/folder_remove.rb
active_git-0.0.4 lib/active_git/events/folder_remove.rb