Sha256: ee2109256bf28b2a00ee15844d19fe3e303bf5b90a2b2329dde3b0769e4e83cd
Contents?: true
Size: 739 Bytes
Versions: 55
Compression:
Stored size: 739 Bytes
Contents
module Redcar module Scm class ScmCommitsMirror class CommitsNode include Redcar::Tree::Mirror::NodeMirror attr_reader :repo, :branch def initialize(repo, branch=nil, text=nil) @repo = repo @branch = branch @text = text || branch || @repo.translations[:unpushed_commits] end def text @text end def icon :"folder--arrow" end def leaf? false end def children if branch @repo.unpushed_commits(branch) else @repo.unpushed_commits end end end end end end
Version data entries
55 entries across 55 versions & 2 rubygems