Class: Rugged::Diff::Delta

Inherits:
Object
  • Object
show all
Defined in:
lib/rugged/diff/delta.rb

Instance Method Summary collapse

Instance Method Details

#new_file_full_pathObject



8
9
10
11
# File 'lib/rugged/diff/delta.rb', line 8

def new_file_full_path
  repo_path = Pathname.new(repo.path).parent
  repo_path.join(new_file[:path])
end

#repoObject



4
5
6
# File 'lib/rugged/diff/delta.rb', line 4

def repo
  diff.tree.repo
end