Searched refs:commit_id (Results 1 - 10 of 10) sorted by relevance
/ontohub/app/helpers/ |
H A D | history_helper.rb | 14 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 D | diffs_controller.rb | 24 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 D | files_controller.rb | 93 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 D | history_entries_page.rb | 8 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 D | diff.rb | 10 @commit_id = compute_ref(repository, opts[:ref]) 12 @oid = @commit_id[:oid] 43 repository.commit_id(ref || Settings.git.default_branch)
|
H A D | repository_file.rb | 183 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 D | 20160614065104_create_missing_commits.rb | 3 OntologyVersion.where(commit_id: nil).find_each do |ontology_version|
|
/ontohub/app/models/repository/ |
H A D | git.rb | 6 delegate :commit_id, :dir?, :empty?, :get_file, :has_changed?, 87 git.changed_files(commit_id(oid)[:oid])
|
/ontohub/lib/ |
H A D | ontology_version_finder.rb | 45 branch_commit = ontology.repository.commit_id(branch_reference)[:oid]
|
H A D | git_repository.rb | 113 # 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