Module: Avm::Launcher::Git::Base::DirtyFiles

Included in:
Avm::Launcher::Git::Base
Defined in:
lib/avm/launcher/git/base/dirty_files.rb

Instance Method Summary collapse

Instance Method Details

#dirty_filesObject



12
13
14
15
16
17
18
# File 'lib/avm/launcher/git/base/dirty_files.rb', line 12

def dirty_files
  eac_git.dirty_files.map do |df|
    ::OpenStruct.new(
      df.to_h.merge(path: df.path.to_path, absolute_path: df.absolute_path.to_path)
    )
  end
end