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

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

Instance Method Summary collapse

Instance Method Details

#dirty_filesArray<Struct>

Returns:

  • (Array<Struct>)


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

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