Sha256: c3ed1f2b906bc5583e691840c62c5908b1ced110aa2ba844927318a27c957aa0

Contents?: true

Size: 445 Bytes

Versions: 9

Compression:

Stored size: 445 Bytes

Contents

# frozen_string_literal: true

require 'avm/scms/commit'
require 'eac_ruby_utils/core_ext'

module Avm
  module Git
    module Scms
      class Git < ::Avm::Scms::Base
        module Branches
          # @return [Avm::Git::Scms::Git::Branch]
          def head_branch
            ::Avm::Git::Scms::Git::Branch.new(self,
                                              git_repo.current_branch)
          end
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
avm-git-0.18.0 lib/avm/git/scms/git/branches.rb
eac_tools-0.94.0 sub/avm-git/lib/avm/git/scms/git/branches.rb
avm-git-0.17.0 lib/avm/git/scms/git/branches.rb
eac_tools-0.86.5 sub/avm-git/lib/avm/git/scms/git/branches.rb
avm-git-0.16.0 lib/avm/git/scms/git/branches.rb
eac_tools-0.86.4 sub/avm-git/lib/avm/git/scms/git/branches.rb
eac_tools-0.86.3 sub/avm-git/lib/avm/git/scms/git/branches.rb
avm-git-0.15.0 lib/avm/git/scms/git/branches.rb
eac_tools-0.86.2 sub/avm-git/lib/avm/git/scms/git/branches.rb