Sha256: 5beb102fcc10768cb4eb4c240565d1d15394bb73af6f6c23d6da32287e0c97b9

Contents?: true

Size: 298 Bytes

Versions: 1

Compression:

Stored size: 298 Bytes

Contents

module ActiveGit
  class FileDelete < FileEvent

    def synchronize(synchronizer)
      synchronizer.define_job do
        ActiveGit.configuration.logger.debug "[ActiveGit] Deleting file #{file_name}"
        File.delete(file_name) if File.exist?(file_name)
      end
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
active_git-0.0.3 lib/active_git/events/file_delete.rb