Sha256: a8811dce4b6a8b2d0e7be462bf54b2351073b980068c337a03a3a34f4ff8cd95

Contents?: true

Size: 521 Bytes

Versions: 14

Compression:

Stored size: 521 Bytes

Contents

# frozen_string_literal: true

require 'eac_ruby_utils/core_ext'

module Avm
  module Git
    module Launcher
      class Base < ::Avm::Launcher::Paths::Real
        module DirtyFiles
          delegate :dirty?, to: :eac_git

          # @return [Array<Struct>]
          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
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
avm-git-0.18.0 lib/avm/git/launcher/base/dirty_files.rb
eac_tools-0.94.0 sub/avm-git/lib/avm/git/launcher/base/dirty_files.rb
avm-git-0.17.0 lib/avm/git/launcher/base/dirty_files.rb
eac_tools-0.86.5 sub/avm-git/lib/avm/git/launcher/base/dirty_files.rb
avm-git-0.16.0 lib/avm/git/launcher/base/dirty_files.rb
eac_tools-0.86.4 sub/avm-git/lib/avm/git/launcher/base/dirty_files.rb
eac_tools-0.86.3 sub/avm-git/lib/avm/git/launcher/base/dirty_files.rb
avm-git-0.15.0 lib/avm/git/launcher/base/dirty_files.rb
eac_tools-0.86.2 sub/avm-git/lib/avm/git/launcher/base/dirty_files.rb
eac_tools-0.84.0 sub/avm-git/lib/avm/git/launcher/base/dirty_files.rb
eac_tools-0.83.0 sub/avm-git/lib/avm/git/launcher/base/dirty_files.rb
eac_tools-0.82.0 sub/avm-git/lib/avm/git/launcher/base/dirty_files.rb
avm-git-0.14.0 lib/avm/git/launcher/base/dirty_files.rb
eac_tools-0.81.0 sub/avm-git/lib/avm/git/launcher/base/dirty_files.rb