Searched refs:raw_path (Results 1 - 3 of 3) sorted by relevance

/ontohub/app/models/ontology_version/
H A Dfiles.rb32 def raw_path method
37 def raw_path!
39 raw_path
43 File.exists? raw_path
49 FileUtils.mkdir_p raw_path.dirname
50 File.open(raw_path, "w"){|f| f.write raw_data }
/ontohub/app/controllers/
H A Dontology_versions_controller.rb21 send_file resource.raw_path, filename: File.basename(resource.ontology.path)
/ontohub/app/models/
H A Dontology_version.rb97 self.checksum = Digest::SHA1.file(raw_path!).hexdigest

Completed in 13 milliseconds