Searched refs:get_file (Results 1 - 10 of 10) sorted by relevance
/ontohub/spec/lib/repository/ |
H A D | files_spec.rb | 23 it { expect(repository.get_file(filepath).name).to eq(filepath.split('/')[-1]) } 24 it { expect(repository.get_file(filepath).content).to eq(content) } 25 it { expect(repository.get_file(filepath).mime_type).to eq(Mime::Type.lookup('text/plain')) } 50 it { expect(repository.get_file(filepath).content).to eq(content2) }
|
/ontohub/app/fake_records/ |
H A D | history_entries_page.rb | 25 @current_file = repository.get_file(path, oid) if path && !repository.dir?(path)
|
H A D | repository_file.rb | 185 @file = repository.git.get_file!(opts[:path] || '/', commit_id[:oid])
|
/ontohub/app/models/ontology_version/ |
H A D | files.rb | 56 repository.get_file(self.path, commit_oid).content.encoding_utf8
|
/ontohub/app/models/ |
H A D | ontology_version.rb | 75 ontology.repository.get_file(path, commit_oid)
|
H A D | ontology.rb | 177 repository.get_file(path)
|
/ontohub/lib/ |
H A D | git_repository.rb | 70 def get_file(path, commit_oid = nil) method in class:GitRepository 72 get_file!(path, commit_oid) 78 def get_file!(path, commit_oid = nil)
|
/ontohub/app/models/repository/ |
H A D | git.rb | 6 delegate :commit_id, :dir?, :empty?, :get_file, :has_changed?,
|
/ontohub/spec/models/repository/ |
H A D | save_and_delete_file_spec.rb | 32 expect(repository.git.get_file(target_path).content).to eq(content)
|
/ontohub/app/controllers/ |
H A D | files_controller.rb | 89 render text: repository.get_file(path, oid).content,
|
Completed in 23 milliseconds