Sha256: 6008814d2abdde78a9a13851254da2a080e649ebb29ed2680390265f389fcbef

Contents?: true

Size: 263 Bytes

Versions: 4

Compression:

Stored size: 263 Bytes

Contents

module GitWrapper
  module Commands
    class Status < Git

      def command
        'status --porcelain'
      end

      def result
        output.split(/\n/).map do |line|
          Results::StatusPorcelain.parse(line)
        end
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
git_wrapper-1.1.2 lib/git_wrapper/commands/status.rb
git_wrapper-1.1.1 lib/git_wrapper/commands/status.rb
git_wrapper-1.1.0 lib/git_wrapper/commands/status.rb
git_wrapper-1.0.3 lib/git_wrapper/commands/status.rb