# File lib/dragonfly/data_storage/file_data_store.rb, line 47 def destroy(relative_path) path = absolute(relative_path) FileUtils.rm path FileUtils.rm extra_data_path(path) purge_empty_directories(relative_path) rescue Errno::ENOENT => e raise DataNotFound, e.message end