Class: Rugged::Diff::Delta
- Inherits:
-
Object
- Object
- Rugged::Diff::Delta
- Defined in:
- lib/rugged/diff/delta.rb
Instance Method Summary collapse
Instance Method Details
#new_file_full_path ⇒ Object
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 |
#repo ⇒ Object
4 5 6 |
# File 'lib/rugged/diff/delta.rb', line 4 def repo diff.tree.repo end |