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
avm-git-0.18.0 lib/avm/git/scms/git/changed_files.rb
eac_tools-0.94.0 sub/avm-git/lib/avm/git/scms/git/changed_files.rb
avm-git-0.17.0 lib/avm/git/scms/git/changed_files.rb
eac_tools-0.86.5 sub/avm-git/lib/avm/git/scms/git/changed_files.rb
avm-git-0.16.0 lib/avm/git/scms/git/changed_files.rb
eac_tools-0.86.4 sub/avm-git/lib/avm/git/scms/git/changed_files.rb
eac_tools-0.86.3 sub/avm-git/lib/avm/git/scms/git/changed_files.rb
avm-git-0.15.0 lib/avm/git/scms/git/changed_files.rb
eac_tools-0.86.2 sub/avm-git/lib/avm/git/scms/git/changed_files.rb
eac_tools-0.84.0 sub/avm-git/lib/avm/git/scms/git/changed_files.rb
eac_tools-0.83.0 sub/avm-git/lib/avm/git/scms/git/changed_files.rb
eac_tools-0.82.0 sub/avm-git/lib/avm/git/scms/git/changed_files.rb
avm-git-0.14.0 lib/avm/git/scms/git/changed_files.rb
eac_tools-0.81.0 sub/avm-git/lib/avm/git/scms/git/changed_files.rb
eac_tools-0.80.0 sub/avm-git/lib/avm/git/scms/git/changed_files.rb
eac_tools-0.79.0 sub/avm-git/lib/avm/git/scms/git/changed_files.rb
eac_tools-0.78.0 sub/avm-git/lib/avm/git/scms/git/changed_files.rb
eac_tools-0.77.1 sub/avm-git/lib/avm/git/scms/git/changed_files.rb
eac_tools-0.77.0 sub/avm-git/lib/avm/git/scms/git/changed_files.rb
eac_tools-0.76.1 sub/avm-git/lib/avm/git/scms/git/changed_files.rb