Sha256: 8b458f57673b9bc4276fd0da4bec8e19909dd1ad7e22b3ad340a52b476741c53
Contents?: true
Size: 592 Bytes
Versions: 1
Compression:
Stored size: 592 Bytes
Contents
module EacLauncher module Stereotypes class GitSubtree class Transpose < ::EacLauncher::Git::TransposeBase private def current_ref instance.cache_key("git_subtree.parent.#{cache_git.git.object('HEAD').sha}") do cache_git.subtree_split(to_parent_path) end end def source_instance instance.parent end def source_remote_name instance.project_name end def to_parent_path instance.to_parent_path.gsub(%r{\A/+}, '') end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
eac_launcher-0.1.0 | lib/eac_launcher/stereotypes/git_subtree/transpose.rb |