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



19
20
21
22
# File 'lib/eac_git/local/subrepo.rb', line 19

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

#write_configObject



26
27
28
# File 'lib/eac_git/local/subrepo.rb', line 26

def write_config
  config_absolute_path.write(config.to_content)
end