Class: EacGit::Local::Subrepo

Inherits:
Object
  • Object
show all
Defined in:
lib/eac_git/local/subrepo.rb,
lib/eac_git/local/subrepo/config.rb

Overview

A git-subrepo (github.com/ingydotnet/git-subrepo) in a [EacGit::Local].

Defined Under Namespace

Classes: Config

Instance Method Summary collapse

Instance Method Details

#command(subrepo_subcommand, *subrepo_subcommand_args) ⇒ Object



16
17
18
19
# File 'lib/eac_git/local/subrepo.rb', line 16

def command(subrepo_subcommand, *subrepo_subcommand_args)
  local.command('subrepo', subrepo_subcommand, subpath.to_path,
                *subrepo_subcommand_args)
end

#write_configObject



23
24
25
# File 'lib/eac_git/local/subrepo.rb', line 23

def write_config
  config_absolute_path.write(config.to_content)
end