Sha256: c74482d88f679a85286ee1d4773bcd4672fc6851357f2d2bf2c17ae24912621b

Contents?: true

Size: 188 Bytes

Versions: 15

Compression:

Stored size: 188 Bytes

Contents

require_relative "base"

module Rfix
  class Branch::Head < Branch::Base
    def resolve(with:)
      with.lookup(with.head.target_id)
    end

    def to_s
      "HEAD"
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
rfix-1.4.1 lib/rfix/branches/head.rb
rfix-1.4.0.pre.201 lib/rfix/branches/head.rb
rfix-1.4.0 lib/rfix/branches/head.rb
rfix-1.3.0.pre.199 lib/rfix/branches/head.rb
rfix-1.2.6.pre.198 lib/rfix/branches/head.rb
rfix-1.2.6 lib/rfix/branches/head.rb
rfix-1.2.2.pre.174 lib/rfix/branches/head.rb
rfix-1.2.5 lib/rfix/branches/head.rb
rfix-1.2.4 lib/rfix/branches/head.rb
rfix-1.2.3.pre lib/rfix/branches/head.rb
rfix-1.2.2.pre lib/rfix/branches/head.rb
rfix-1.2.2.pre.172 lib/rfix/branches/head.rb
rfix-1.2.2 lib/rfix/branches/head.rb
rfix-1.2.0 lib/rfix/branches/head.rb
rfix-1.1.4.pre lib/rfix/branches/head.rb