Searched refs:has_file (Results 1 - 5 of 5) sorted by relevance

/ontohub/app/models/
H A Dontology.rb192 !has_file?(commit_oid)
196 def has_file?(commit_oid = nil)
197 has_file(commit_oid)
200 def has_file(commit_oid = nil) method
202 self[:has_file]
/ontohub/lib/
H A Dontology_saver.rb44 mark_ontology_as_having_file(f.path, has_file: true)
62 mark_ontology_as_having_file(f.path, has_file: false)
74 def mark_ontology_as_having_file(path, has_file: false)
76 return unless ontos.any? { |onto| onto.has_file != has_file }
78 onto.has_file = has_file
/ontohub/spec/models/repository/
H A Dsave_and_delete_file_spec.rb58 expect(repository.ontologies.first.has_file).to be_truthy
95 expect(repository.ontologies.first.has_file).to be_falsy
99 expect(repository.ontologies.first.has_file(@version_save.commit_oid)).
/ontohub/app/models/ontology/
H A Dassociations_and_attributes.rb56 :has_file,
/ontohub/app/models/repository/
H A Dgit.rb41 mark_ontology_as_having_file(filepath, has_file: false)

Completed in 9 milliseconds