Module: FilesInMyDiff

Defined in:
lib/files_in_my_diff.rb,
lib/files_in_my_diff.rb,
lib/files_in_my_diff/git.rb,
lib/files_in_my_diff/tmp_dir.rb,
lib/files_in_my_diff/version.rb,
lib/files_in_my_diff/git/diff.rb,
lib/files_in_my_diff/resolver.rb,
lib/files_in_my_diff/git/adapter.rb,
lib/files_in_my_diff/tmp_dir/revision_dir.rb,
lib/files_in_my_diff/tmp_dir/file_strategy.rb

Defined Under Namespace

Modules: Git, TmpDir Classes: Error, Resolver, ValidationError

Constant Summary collapse

VERSION =
'1.0.1'

Class Method Summary collapse

Class Method Details

.checkout(folder:, revision:) ⇒ Object



20
21
22
# File 'lib/files_in_my_diff.rb', line 20

def self.checkout(folder:, revision:)
  Resolver.new(folder:, revision:).call
end

.rootObject



16
17
18
# File 'lib/files_in_my_diff.rb', line 16

def self.root
  File.expand_path('..', __dir__)
end