class ActiveGit::FileDelete

Public Instance Methods

synchronize(synchronizer) click to toggle source
# File lib/active_git/events/file_delete.rb, line 4
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