Class: Linguist::Source::Diff

Inherits:
Object
  • Object
show all
Defined in:
lib/linguist/source/diff.rb

Overview

Diff is an interface representing a diff between two trees. It is composed of a collection of iterable deltas between before/after states of files.

Direct Known Subclasses

RuggedRepository::Diff

Defined Under Namespace

Classes: Delta

Instance Method Summary collapse

Instance Method Details

#each_deltaObject

Public: iterate through each delta of the given diff. Yields a single delta to the given block.

Returns nothing.

Raises:

  • (NotImplementedError)


67
68
69
# File 'lib/linguist/source/diff.rb', line 67

def each_delta
  raise NotImplementedError
end