Sha256: aaeae1b2d76bd65b0bdea8b68c9245ee912ea31fbb0d70a90a6bae18e327f2c1

Contents?: true

Size: 552 Bytes

Versions: 73

Compression:

Stored size: 552 Bytes

Contents

# frozen_string_literal: true

require 'avm/git/scms/git/changed_file'
require 'eac_ruby_utils/core_ext'

module Avm
  module Git
    module Scms
      class Git < ::Avm::Scms::Base
        class ChangedFiles
          enable_method_class
          common_constructor :scm

          # @return [Avm::Git::Scms::Git::ChangedFile]
          def result
            scm.git_repo.dirty_files.map do |dirty_file|
              ::Avm::Git::Scms::Git::ChangedFile.new(scm, dirty_file.path)
            end
          end
        end
      end
    end
  end
end

Version data entries

73 entries across 73 versions & 2 rubygems

Version Path
eac_tools-0.64.0 sub/avm-git/lib/avm/git/scms/git/changed_files.rb
eac_tools-0.63.0 sub/avm-git/lib/avm/git/scms/git/changed_files.rb
eac_tools-0.62.1 sub/avm-git/lib/avm/git/scms/git/changed_files.rb
eac_tools-0.62.0 sub/avm-git/lib/avm/git/scms/git/changed_files.rb
avm-git-0.13.2 lib/avm/git/scms/git/changed_files.rb
eac_tools-0.61.1 sub/avm-git/lib/avm/git/scms/git/changed_files.rb
eac_tools-0.61.0 sub/avm-git/lib/avm/git/scms/git/changed_files.rb
eac_tools-0.60.3 sub/avm-git/lib/avm/git/scms/git/changed_files.rb
eac_tools-0.60.2 sub/avm-git/lib/avm/git/scms/git/changed_files.rb
eac_tools-0.60.1 sub/avm-git/lib/avm/git/scms/git/changed_files.rb
eac_tools-0.60.0 sub/avm-git/lib/avm/git/scms/git/changed_files.rb
eac_tools-0.59.0 sub/avm-git/lib/avm/git/scms/git/changed_files.rb
eac_tools-0.58.0 sub/avm-git/lib/avm/git/scms/git/changed_files.rb
eac_tools-0.57.0 sub/avm-git/lib/avm/git/scms/git/changed_files.rb
eac_tools-0.56.1 sub/avm-git/lib/avm/git/scms/git/changed_files.rb
eac_tools-0.56.0 sub/avm-git/lib/avm/git/scms/git/changed_files.rb
eac_tools-0.55.7 sub/avm-git/lib/avm/git/scms/git/changed_files.rb
avm-git-0.13.1 lib/avm/git/scms/git/changed_files.rb
eac_tools-0.55.6 sub/avm-git/lib/avm/git/scms/git/changed_files.rb
eac_tools-0.55.5 sub/avm-git/lib/avm/git/scms/git/changed_files.rb