Searched refs:commit_id (Results 1 - 10 of 10) sorted by relevance

/ontohub/app/helpers/
H A Dhistory_helper.rb14 def commit_id method in class:HistoryHelper
15 @commit_id ||= repository.commit_id(params[:ref])
19 @oid ||= commit_id[:oid] unless commit_id.nil?
/ontohub/app/controllers/
H A Ddiffs_controller.rb24 def commit_id method in class:DiffsController
25 @commit_id ||= repository.commit_id(params[:ref])
29 @oid ||= commit_id[:oid] unless commit_id.nil?
H A Dfiles_controller.rb93 def commit_id method in class:FilesController
94 @commit_id ||= repository.commit_id(params[:ref])
98 @oid ||= commit_id[:oid] unless commit_id.nil?
102 commit_id[:branch_name]
/ontohub/app/fake_records/
H A Dhistory_entries_page.rb8 attr_reader :commit_id, :page, :offset
21 @commit_id = compute_ref(repository, opts[:ref])
22 @oid = commit_id[:oid] unless repository.empty?
49 repository.commit_id(ref || Settings.git.default_branch)
H A Ddiff.rb10 @commit_id = compute_ref(repository, opts[:ref])
12 @oid = @commit_id[:oid]
43 repository.commit_id(ref || Settings.git.default_branch)
H A Drepository_file.rb183 commit_id = repository.commit_id(opts[:ref] || Settings.git.default_branch)
184 commit_id = {oid: nil} if repository.empty?
185 @file = repository.git.get_file!(opts[:path] || '/', commit_id[:oid])
/ontohub/db/data/
H A D20160614065104_create_missing_commits.rb3 OntologyVersion.where(commit_id: nil).find_each do |ontology_version|
/ontohub/app/models/repository/
H A Dgit.rb6 delegate :commit_id, :dir?, :empty?, :get_file, :has_changed?,
87 git.changed_files(commit_id(oid)[:oid])
/ontohub/lib/
H A Dontology_version_finder.rb45 branch_commit = ontology.repository.commit_id(branch_reference)[:oid]
H A Dgit_repository.rb113 # Given a commit oid or a branch name, commit_id returns a hash of oid and
115 def commit_id(ref) method in class:GitRepository

Completed in 21 milliseconds