# File lib/dragonfly/file_data_store.rb, line 128 def destroy(relative_path) validate_path!(relative_path) path = absolute(relative_path) FileUtils.rm path meta_store.destroy(path) purge_empty_directories(relative_path) rescue Errno::ENOENT => e Dragonfly.warn("#{self.class.name} destroy error: #{e}") end