Sha256: 2121f127afa6bb9fd2bbea075c878b7de7f16970e209d1b0cea8d7f021910c1c
Contents?: true
Size: 295 Bytes
Versions: 2
Compression:
Stored size: 295 Bytes
Contents
module ActiveGit class FileDelete < FileEvent def synchronize(synchronizer) synchronizer.define_job do ::ActiveRecord::Base.logger.debug "[ActiveGit] Deleting file #{file_name}" File.delete(file_name) if File.exist?(file_name) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
active_git-0.0.2 | lib/active_git/events/file_delete.rb |
active_git-0.0.1 | lib/active_git/events/file_delete.rb |