1 # Copyright (C) 2017 all contributors <repobrowse@80x24.org>
2 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
3 # frozen_string_literal: true
5 # class for represpenting an inbox git repository.
12 @tip = @description = @cloneurl = nil
13 opts.each { |k, v| instance_variable_set "@#{k}", v }
16 @driver = Repobrowse::Git.new(@path)
21 @description ||= @driver.read_description
25 @cloneurl ||= @driver.read_cloneurl
29 @tip ||= @driver.read_tip