SYMBOL INDEX (674 symbols across 68 files) FILE: lib/m-git.rb type MGit (line 19) | module MGit function run (line 47) | def run(raw_argv) type MGit (line 41) | module MGit function run (line 47) | def run(raw_argv) FILE: lib/m-git/argv.rb type MGit (line 3) | module MGit class ARGV (line 6) | class ARGV method initialize (line 30) | def initialize(cmd, pure_opts, absolute_cmd, raw_opts) method register_opts (line 38) | def register_opts(opts) method resolve! (line 44) | def resolve! method update_opt (line 59) | def update_opt(key, value, priority:nil, info:nil) method opt (line 76) | def opt(key) method info (line 81) | def info(key) method git_opts (line 92) | def git_opts(raw: true) method enumerate_valid_opts (line 102) | def enumerate_valid_opts method is_option? (line 110) | def is_option?(opt_str) method show_detail (line 115) | def show_detail method show_info (line 126) | def show_info method __resolve_git_opts (line 137) | def __resolve_git_opts method __resolve_raw_opts (line 150) | def __resolve_raw_opts FILE: lib/m-git/argv/opt.rb type MGit (line 3) | module MGit class ARGV (line 5) | class ARGV class Opt (line 10) | class Opt method initialize (line 21) | def initialize(key, default:nil, short_key:nil, priority:-1, info:... method empty? (line 27) | def empty? method validate? (line 31) | def validate? FILE: lib/m-git/argv/opt_list.rb type MGit (line 3) | module MGit class ARGV (line 4) | class ARGV class OptList (line 6) | class OptList method initialize (line 13) | def initialize(opts) method valid_opts (line 17) | def valid_opts method opt (line 27) | def opt(key) method did_set_opt? (line 36) | def did_set_opt?(key) method registered_opt (line 48) | def registered_opt(key) method did_register_opt? (line 56) | def did_register_opt?(key) method opts_ordered_by_priority (line 64) | def opts_ordered_by_priority FILE: lib/m-git/argv/parser.rb type MGit (line 2) | module MGit class ARGV (line 3) | class ARGV type Parser (line 4) | module Parser function parse (line 15) | def self.parse(argv) FILE: lib/m-git/base_command.rb type MGit (line 6) | module MGit class BaseCommand (line 7) | class BaseCommand method inherited (line 9) | def self.inherited(sub_klass) method cmd (line 14) | def self.cmd method initialize (line 45) | def initialize(argv) method run (line 55) | def run method all_repos (line 67) | def all_repos(except_config:false) method locked_repos (line 71) | def locked_repos method exec_light_repos (line 75) | def exec_light_repos method generate_config_repo (line 79) | def generate_config_repo method __config_repo_filter (line 84) | def __config_repo_filter method setup_argv (line 93) | def setup_argv(argv) method process_highest_priority_option (line 104) | def process_highest_priority_option(argv) method pre_exec (line 115) | def pre_exec method post_exec (line 136) | def post_exec method enable_auto_execution (line 145) | def enable_auto_execution method enable_repo_selection (line 150) | def enable_repo_selection method enable_short_basic_option (line 155) | def enable_short_basic_option method enable_lock_operation (line 160) | def enable_lock_operation method include_lock_by_default (line 165) | def include_lock_by_default method enable_continue_operation (line 170) | def enable_continue_operation method enable_abort_operation (line 175) | def enable_abort_operation method did_interrupt (line 180) | def did_interrupt method description (line 184) | def self.description method usage (line 188) | def self.usage method execute (line 194) | def execute(argv) method options (line 202) | def options method revise_option_value (line 246) | def revise_option_value(opt) method validate (line 251) | def validate(argv) method mgit_try_to_continue? (line 255) | def mgit_try_to_continue? method mgit_try_to_abort? (line 259) | def mgit_try_to_abort? method usage (line 264) | def usage(argv) FILE: lib/m-git/command/add.rb type MGit (line 3) | module MGit class Add (line 9) | class Add < BaseCommand method execute (line 13) | def execute(argv) method enable_repo_selection (line 23) | def enable_repo_selection method description (line 29) | def self.description method usage (line 35) | def self.usage FILE: lib/m-git/command/branch.rb type MGit (line 3) | module MGit class Branch (line 9) | class Branch < BaseCommand method options (line 15) | def options method execute (line 21) | def execute(argv) method extcute_as_common (line 34) | def extcute_as_common(argv) method show_compact_branches (line 54) | def show_compact_branches(argv) method show_branches_for_repos (line 61) | def show_branches_for_repos(repos, locked) method enable_repo_selection (line 77) | def enable_repo_selection method description (line 81) | def self.description method usage (line 85) | def self.usage FILE: lib/m-git/command/checkout.rb type MGit (line 3) | module MGit class Checkout (line 9) | class Checkout < BaseCommand method execute (line 11) | def execute(argv) method checkout_config_repo (line 60) | def checkout_config_repo(cmd, opts, repo) method remind_config_repo_fail (line 85) | def remind_config_repo_fail(msg) method enable_repo_selection (line 92) | def enable_repo_selection method description (line 96) | def self.description method usage (line 100) | def self.usage FILE: lib/m-git/command/clean.rb type MGit (line 3) | module MGit class Clean (line 9) | class Clean < BaseCommand method execute (line 11) | def execute(argv) method validate (line 42) | def validate(argv) method enable_repo_selection (line 46) | def enable_repo_selection method enable_short_basic_option (line 50) | def enable_short_basic_option method description (line 54) | def self.description method usage (line 58) | def self.usage FILE: lib/m-git/command/commit.rb type MGit (line 3) | module MGit class Commit (line 9) | class Commit < BaseCommand method validate (line 11) | def validate(argv) method execute (line 21) | def execute(argv) method enable_repo_selection (line 70) | def enable_repo_selection method description (line 74) | def self.description method usage (line 78) | def self.usage FILE: lib/m-git/command/config.rb type MGit (line 3) | module MGit class Config (line 9) | class Config < BaseCommand method options (line 24) | def options method validate (line 48) | def validate(argv) method pre_exec (line 57) | def pre_exec method post_exec (line 66) | def post_exec method execute (line 73) | def execute(argv) method update_mgit_config (line 102) | def update_mgit_config(config_path) method update_local_config (line 124) | def update_local_config(config_path) method create_local_config (line 138) | def create_local_config(dir) method dump_config (line 157) | def dump_config method set_config (line 166) | def set_config(key_value_arr) method enable_short_basic_option (line 190) | def enable_short_basic_option method description (line 194) | def self.description method usage (line 198) | def self.usage FILE: lib/m-git/command/delete.rb type MGit (line 3) | module MGit class Delete (line 9) | class Delete < BaseCommand method pre_exec (line 12) | def pre_exec method post_exec (line 21) | def post_exec method execute (line 28) | def execute(argv) method parse_repo_name (line 75) | def parse_repo_name(argv) method enable_short_basic_option (line 85) | def enable_short_basic_option method description (line 89) | def self.description method usage (line 93) | def self.usage FILE: lib/m-git/command/fetch.rb type MGit (line 3) | module MGit class Fetch (line 9) | class Fetch < BaseCommand method execute (line 10) | def execute(argv) method enable_repo_selection (line 19) | def enable_repo_selection method description (line 23) | def self.description method usage (line 27) | def self.usage FILE: lib/m-git/command/forall.rb type MGit (line 3) | module MGit class Forall (line 9) | class Forall < BaseCommand method options (line 18) | def options method validate (line 31) | def validate(argv) method execute (line 36) | def execute(argv) method enable_repo_selection (line 63) | def enable_repo_selection method enable_short_basic_option (line 67) | def enable_short_basic_option method description (line 71) | def self.description method usage (line 75) | def self.usage FILE: lib/m-git/command/info.rb type MGit (line 3) | module MGit class Info (line 7) | class Info < BaseCommand method execute (line 9) | def execute(argv) method parse_repo_name (line 39) | def parse_repo_name(argv) method calculate_size (line 48) | def calculate_size(repo) method check_stash (line 54) | def check_stash(repo) method enable_short_basic_option (line 60) | def enable_short_basic_option method description (line 64) | def self.description method usage (line 68) | def self.usage FILE: lib/m-git/command/init.rb type MGit (line 3) | module MGit class Init (line 7) | class Init < BaseCommand method options (line 22) | def options method validate (line 47) | def validate(argv) method pre_exec (line 60) | def pre_exec method post_exec (line 72) | def post_exec method execute (line 81) | def execute(argv) method init_dir (line 101) | def init_dir method write_content (line 114) | def write_content(path, content) method setup_hooks (line 122) | def setup_hooks(pre_hook_path, post_hook_path, manifest_hook_path, p... method initial_multi_repo_root (line 129) | def initial_multi_repo_root method setup_local_config (line 141) | def setup_local_config(path, config_repo, use_local) method clone_with_git_url (line 152) | def clone_with_git_url(git_url, branch, use_local, clone_all) method clone_with_local_config (line 203) | def clone_with_local_config(config_path, clone_all) method clone_sub_repos (line 222) | def clone_sub_repos(repo_list, default_branch) method link_config (line 278) | def link_config(config_path, config_cache_path, root) method terminate! (line 289) | def terminate!(msg) method move_project_to_root (line 297) | def move_project_to_root method finish_init (line 306) | def finish_init(config) method enable_short_basic_option (line 312) | def enable_short_basic_option method description (line 316) | def self.description method usage (line 320) | def self.usage FILE: lib/m-git/command/log.rb type MGit (line 3) | module MGit class Log (line 7) | class Log < BaseCommand method options (line 14) | def options method revise_option_value (line 20) | def revise_option_value(opt) method execute (line 24) | def execute(argv) method parse_repo_name (line 46) | def parse_repo_name(argv) method is_integer? (line 56) | def is_integer?(string) method enable_short_basic_option (line 60) | def enable_short_basic_option method description (line 64) | def self.description method usage (line 68) | def self.usage FILE: lib/m-git/command/merge.rb type MGit (line 3) | module MGit class Merge (line 7) | class Merge < BaseCommand method options (line 23) | def options method __progress_type (line 29) | def __progress_type method execute (line 33) | def execute(argv) method merge_config_repo (line 175) | def merge_config_repo(cmd, opts, repo, auto_update) method continue_execute (line 190) | def continue_execute(cmd, opts, repo, check_point, auto_update) method update_config_repo (line 222) | def update_config_repo(repo, context, auto) method exec_config_repo (line 239) | def exec_config_repo(repo, cmd, opts) method refresh_config (line 253) | def refresh_config(repo, context, auto) method update_subrepos (line 280) | def update_subrepos(subrepos, context, auto) method refresh_context (line 297) | def refresh_context(context) method remind_config_repo_fail (line 303) | def remind_config_repo_fail(msg) method do_abort (line 313) | def do_abort(argv) method show_progress_error (line 334) | def show_progress_error(summary, detail) method enable_repo_selection (line 346) | def enable_repo_selection method enable_continue_operation (line 350) | def enable_continue_operation method description (line 354) | def self.description method usage (line 358) | def self.usage FILE: lib/m-git/command/pull.rb type MGit (line 3) | module MGit class Pull (line 7) | class Pull < BaseCommand method options (line 13) | def options method __progress_type (line 19) | def __progress_type method execute (line 23) | def execute(argv) method verbose_pull (line 32) | def verbose_pull(argv) method simple_pull (line 202) | def simple_pull(argv) method pull_config_repo (line 222) | def pull_config_repo(cmd, opts, repo) method remind_config_repo_fail (line 285) | def remind_config_repo_fail(msg) method do_abort (line 295) | def do_abort(argv) method refresh_context (line 316) | def refresh_context(context) method show_progress_error (line 322) | def show_progress_error(summary, detail) method enable_repo_selection (line 334) | def enable_repo_selection method enable_auto_execution (line 338) | def enable_auto_execution method include_lock_by_default (line 342) | def include_lock_by_default method enable_continue_operation (line 346) | def enable_continue_operation method enable_abort_operation (line 350) | def enable_abort_operation method description (line 354) | def self.description method usage (line 358) | def self.usage FILE: lib/m-git/command/push.rb type MGit (line 3) | module MGit class Push (line 9) | class Push < BaseCommand method options (line 23) | def options method __setup_option_value (line 36) | def __setup_option_value(argv) method execute (line 47) | def execute(argv) method __execute_push (line 233) | def __execute_push(argv, do_repos) method __process_push_result (line 262) | def __process_push_result(repo, stdout, stderr, status) method __parse_cmd_and_opt (line 283) | def __parse_cmd_and_opt(repo) method enable_repo_selection (line 297) | def enable_repo_selection method description (line 301) | def self.description method usage (line 305) | def self.usage FILE: lib/m-git/command/rebase.rb type MGit (line 3) | module MGit class Rebase (line 7) | class Rebase < BaseCommand method options (line 23) | def options method execute (line 29) | def execute(argv) method rebase_config_repo (line 152) | def rebase_config_repo(cmd, opts, repo, auto_update) method continue_execute (line 166) | def continue_execute(cmd, opts, repo, check_point, auto_update) method update_config_repo (line 198) | def update_config_repo(repo, context, auto) method exec_config_repo (line 215) | def exec_config_repo(repo, cmd, opts) method refresh_config (line 229) | def refresh_config(repo, context, auto) method update_subrepos (line 257) | def update_subrepos(subrepos, context, auto) method refresh_context (line 274) | def refresh_context(context) method remind_config_repo_fail (line 280) | def remind_config_repo_fail(msg) method check_master_rebase (line 287) | def check_master_rebase(argv) method do_abort (line 294) | def do_abort(argv) method show_progress_error (line 312) | def show_progress_error(summary, detail) method enable_repo_selection (line 324) | def enable_repo_selection method enable_continue_operation (line 328) | def enable_continue_operation method description (line 332) | def self.description method usage (line 336) | def self.usage method __progress_type (line 342) | def __progress_type FILE: lib/m-git/command/reset.rb type MGit (line 3) | module MGit class Reset (line 7) | class Reset < BaseCommand method execute (line 9) | def execute(argv) method enable_repo_selection (line 17) | def enable_repo_selection method description (line 21) | def self.description method usage (line 25) | def self.usage FILE: lib/m-git/command/self.rb type MGit (line 3) | module MGit class Self (line 7) | class Self < BaseCommand method options (line 31) | def options method validate (line 41) | def validate(argv) method prepare (line 45) | def prepare method pre_exec (line 51) | def pre_exec method post_exec (line 54) | def post_exec method usage (line 57) | def usage(argv) method execute (line 62) | def execute(argv) method show_help (line 91) | def show_help(argv) method show_all_repos (line 130) | def show_all_repos(argv) method show_repo_size (line 164) | def show_repo_size method prepare_repos (line 188) | def prepare_repos(with_excluded:false) method show_workspace (line 204) | def show_workspace method show_version (line 213) | def show_version method enable_short_basic_option (line 217) | def enable_short_basic_option FILE: lib/m-git/command/stash.rb type MGit (line 3) | module MGit class Stash (line 7) | class Stash < BaseCommand method options (line 17) | def options method validate (line 27) | def validate(argv) method execute (line 36) | def execute(argv) method do_clear (line 53) | def do_clear(argv) method do_stash_list (line 64) | def do_stash_list(argv) method do_stash_pop_apply (line 86) | def do_stash_pop_apply(argv, stash_name, action) method do_stash_push (line 115) | def do_stash_push(argv, stash_name) method repo_stash_list_msg (line 150) | def repo_stash_list_msg(repo) method stash_include_name (line 158) | def stash_include_name(stash_list, stash_name) method enable_repo_selection (line 175) | def enable_repo_selection method description (line 179) | def self.description method usage (line 183) | def self.usage FILE: lib/m-git/command/status.rb type MGit (line 3) | module MGit class Status (line 7) | class Status < BaseCommand method execute (line 8) | def execute(argv) method validate (line 114) | def validate(argv) method enable_repo_selection (line 118) | def enable_repo_selection method enable_short_basic_option (line 122) | def enable_short_basic_option method description (line 126) | def self.description method usage (line 130) | def self.usage FILE: lib/m-git/command/sync.rb type MGit (line 3) | module MGit class Sync (line 8) | class Sync < BaseCommand method pre_exec (line 24) | def pre_exec method post_exec (line 33) | def post_exec method options (line 40) | def options method validate (line 62) | def validate(argv) method execute (line 70) | def execute(argv) method prepare_repo_category (line 124) | def prepare_repo_category method setup_specified_repos (line 137) | def setup_specified_repos(argv) method setup_normal_reops (line 178) | def setup_normal_reops(argv) method setup_new_reops (line 199) | def setup_new_reops method setup_all_sync_reops (line 211) | def setup_all_sync_reops(argv) method setup_download_reops (line 227) | def setup_download_reops(repo_names) method setup_config_url_repos (line 261) | def setup_config_url_repos() method check_valid_repos (line 291) | def check_valid_repos(repo_names) method parse_repo_name (line 303) | def parse_repo_name(argv) method enable_short_basic_option (line 313) | def enable_short_basic_option method description (line 317) | def self.description method usage (line 321) | def self.usage FILE: lib/m-git/command/tag.rb type MGit (line 3) | module MGit class Tag (line 7) | class Tag < BaseCommand method execute (line 9) | def execute(argv) method enable_repo_selection (line 53) | def enable_repo_selection method description (line 57) | def self.description method usage (line 61) | def self.usage FILE: lib/m-git/command_manager.rb type MGit (line 2) | module MGit class CommandManager (line 3) | class CommandManager method commands (line 7) | def commands method register_command (line 11) | def register_command(cmd, cls) method [] (line 15) | def [](cmd) method class_with_command (line 19) | def class_with_command(cmd) FILE: lib/m-git/error.rb type MGit (line 3) | module MGit class Error (line 10) | class Error < StandardError method initialize (line 14) | def initialize(msg, type:nil) FILE: lib/m-git/foundation.rb type MGit (line 14) | module MGit type Foundation (line 15) | module Foundation function help! (line 19) | def help!(msg, title:nil) FILE: lib/m-git/foundation/constants.rb type MGit (line 3) | module MGit type Constants (line 4) | module Constants FILE: lib/m-git/foundation/dir.rb class Dir (line 2) | class Dir method is_git_repo? (line 8) | def self.is_git_repo?(path) method is_in_git_repo? (line 14) | def self.is_in_git_repo?(path) FILE: lib/m-git/foundation/duration_recorder.rb type MGit (line 3) | module MGit class DurationRecorder (line 7) | class DurationRecorder type Status (line 11) | module Status method start (line 27) | def self.start(duration_key:DEFAULT_DURATION_KEY, use_lock:false) method pause (line 40) | def self.pause(duration_key:DEFAULT_DURATION_KEY, use_lock:false) method resume (line 51) | def self.resume(duration_key:DEFAULT_DURATION_KEY, use_lock:false) method end (line 60) | def self.end(duration_key:DEFAULT_DURATION_KEY, use_lock:false) method mutex_exec (line 80) | def self.mutex_exec(use_lock) FILE: lib/m-git/foundation/git_message_parser.rb type MGit (line 2) | module MGit class GitMessageParser (line 5) | class GitMessageParser method initialize (line 7) | def initialize(url) method parse_fetch_msg (line 14) | def parse_fetch_msg(input) method parse_pull_msg (line 21) | def parse_pull_msg(input) method parse_push_msg (line 28) | def parse_push_msg(input) method parse_code_review_url (line 34) | def parse_code_review_url(input) method __default_parse_msg (line 38) | def __default_parse_msg(msg) FILE: lib/m-git/foundation/lock.rb type MGit (line 2) | module MGit class Lock (line 3) | class Lock method mutex_exec (line 11) | def mutex_exec method mutex_puts (line 23) | def mutex_puts FILE: lib/m-git/foundation/loger.rb type MGit (line 5) | module MGit class Loger (line 8) | class Loger method config (line 17) | def self.config(root) method set_log_enable (line 56) | def self.set_log_enable(log_enable) method set_log_level (line 65) | def self.set_log_level(level) method set_log_file (line 72) | def self.set_log_file(file_path) method debug (line 79) | def self.debug(message) method info (line 86) | def self.info(message) method warn (line 93) | def self.warn(message) method error (line 100) | def self.error(message) method fatal (line 107) | def self.fatal(message) method logger (line 112) | def self.logger class Loger (line 46) | class Loger method config (line 17) | def self.config(root) method set_log_enable (line 56) | def self.set_log_enable(log_enable) method set_log_level (line 65) | def self.set_log_level(level) method set_log_file (line 72) | def self.set_log_file(file_path) method debug (line 79) | def self.debug(message) method info (line 86) | def self.info(message) method warn (line 93) | def self.warn(message) method error (line 100) | def self.error(message) method fatal (line 107) | def self.fatal(message) method logger (line 112) | def self.logger FILE: lib/m-git/foundation/mgit_config.rb type MGit (line 5) | module MGit class MGitConfig (line 6) | class MGitConfig method query (line 49) | def query(root) method query_with_key (line 70) | def query_with_key(root, key_symbol) method update (line 88) | def update(root) method dump_config (line 120) | def dump_config(root) method to_suitable_value_for_key (line 145) | def to_suitable_value_for_key(root, key, value) method __load_file (line 180) | def __load_file(root) method write_to_file (line 201) | def write_to_file(root, content) FILE: lib/m-git/foundation/operation_progress_manager.rb type MGit (line 3) | module MGit class OperationProgressContext (line 5) | class OperationProgressContext method initialize (line 21) | def initialize(type) method serialize (line 27) | def serialize method deserialize (line 41) | def deserialize(dict) method validate? (line 53) | def validate? class OperationProgressManager (line 58) | class OperationProgressManager method trap_into_progress (line 74) | def trap_into_progress(root, context) method remove_progress (line 90) | def remove_progress(root, type) method is_in_progress? (line 101) | def is_in_progress?(root, type) method load_context (line 121) | def load_context(root, type) FILE: lib/m-git/foundation/timer.rb type MGit (line 3) | module MGit class Timer (line 5) | class Timer method start (line 19) | def start(repo_name, use_lock:false) method stop (line 33) | def stop(repo_name, use_lock:false) method show_time_consuming_repos (line 47) | def show_time_consuming_repos(threshold:5) method mutex_exec (line 61) | def mutex_exec(use_lock) FILE: lib/m-git/foundation/utils.rb type MGit (line 3) | module MGit type Utils (line 4) | module Utils function logical_cpu_num (line 7) | def logical_cpu_num function execute_shell_cmd (line 23) | def execute_shell_cmd(cmd) function change_dir (line 37) | def change_dir(dir) function execute_under_dir (line 47) | def execute_under_dir(dir) function relative_dir (line 62) | def relative_dir(dir_a, dir_b, realpath: true) function expand_path (line 78) | def expand_path(path, base:nil) function generate_init_cache_path (line 92) | def generate_init_cache_path(root) function link (line 103) | def link(target_path, link_path) function show_clone_info (line 112) | def show_clone_info(root, missing_light_repos) function branch_exist_on_remote? (line 137) | def branch_exist_on_remote?(branch, git_url) function has_permission_of_remote? (line 149) | def has_permission_of_remote?(git_url) function link_git (line 168) | def link_git(source_dir, source_git_dir) function generate_git_store (line 191) | def generate_git_store(root, url) function sync_workspace (line 218) | def sync_workspace(root, config, recover_cache_if_cancelled:true) function pop_git_entity (line 285) | def pop_git_entity(root, config) function push_git_entity (line 292) | def push_git_entity(root, config) function url_consist? (line 307) | def url_consist?(url_a, url_b) function normalize_url (line 331) | def normalize_url(url) function safe_join (line 350) | def safe_join(path_a, path_b) FILE: lib/m-git/hooks_manager.rb type MGit (line 2) | module MGit type HooksManager (line 3) | module HooksManager function execute_manifest_hook (line 14) | def execute_manifest_hook(strict_mode:true) function execute_mgit_pre_hook (line 29) | def execute_mgit_pre_hook(cmd, pure_opts) function execute_mgit_post_hook (line 36) | def execute_mgit_post_hook(cmd, pure_opts, light_repos) function execute_mgit_pre_exec_hook (line 45) | def execute_mgit_pre_exec_hook(cmd, pure_opts, light_repos) function execute_mgit_pre_push_hook (line 52) | def execute_mgit_pre_push_hook(cmd, pure_opts, light_repos) function execute_post_download_hook (line 70) | def execute_post_download_hook(repo_name, repo_path) function __execute_hook_file (line 84) | def __execute_hook_file(file_name, hook_class) FILE: lib/m-git/manifest.rb type MGit (line 7) | module MGit class Manifest (line 11) | class Manifest method generate_light_repos (line 54) | def self.generate_light_repos(root, mgit_managed_only: false, only_e... method parse (line 89) | def self.parse(config_path, strict_mode:true) method simple_parse (line 103) | def self.simple_parse(config_content, strict_mode:true) method repo_list (line 120) | def repo_list(selection: nil, exclusion: nil, all:false) method global_config (line 141) | def global_config(key) method update_cache_with_content (line 154) | def update_cache_with_content(root, config_content) method update_previous_extra_light_repos (line 165) | def update_previous_extra_light_repos(root) method terminate! (line 170) | def terminate!(msg, type:nil) FILE: lib/m-git/manifest/cache_manager.rb type MGit (line 2) | module MGit class Manifest (line 3) | class Manifest class CacheManager (line 4) | class CacheManager method load_path (line 10) | def load_path(cache_path) method save_to_cache (line 31) | def self.save_to_cache(cache_path, hash_sha1, hash_data) FILE: lib/m-git/manifest/internal.rb type MGit (line 4) | module MGit class Manifest (line 5) | class Manifest type Internal (line 6) | module Internal function __setup (line 15) | def __setup(config_path, strict_mode) function __simple_setup (line 37) | def __simple_setup(config_content, strict_mode) function cache_manager (line 57) | def cache_manager function __load_config (line 64) | def __load_config(config_path, config_content: nil, local_config_p... function __load_cache (line 102) | def __load_cache(cache_path) function __parse_manifest_json (line 112) | def __parse_manifest_json(raw_string) function __parse_manifest (line 122) | def __parse_manifest(path) function __generate_light_repos (line 131) | def __generate_light_repos(config_hash) function __generate_extra_light_repos (line 140) | def __generate_extra_light_repos(current_hash, previous_hash) function __generate_hash_sha1 (line 154) | def __generate_hash_sha1(json_string) function __merge_manifest_hash (line 162) | def __merge_manifest_hash(base_hash, attach_hash) FILE: lib/m-git/manifest/light_repo.rb type MGit (line 5) | module MGit class Manifest (line 6) | class Manifest method clone_url (line 51) | def clone_url(root, local_url:nil, clone_branch:nil) method abs_dest (line 71) | def abs_dest(root) method git_store_dir (line 81) | def git_store_dir(root) method cache_store_dir (line 103) | def cache_store_dir(root) FILE: lib/m-git/manifest/light_repo_generator.rb type MGit (line 2) | module MGit class Manifest (line 3) | class Manifest class LightRepoGenerator (line 6) | class LightRepoGenerator method simple_init (line 18) | def self.simple_init(name, path, url) method light_repo_with (line 22) | def self.light_repo_with(name, config_json, parent_json) method __parse_path (line 56) | def __parse_path(repo_name, config_json, parent_json) method __parse_url (line 72) | def __parse_url(config_json, parent_json) FILE: lib/m-git/manifest/linter.rb type MGit (line 2) | module MGit class Manifest (line 3) | class Manifest type Linter (line 4) | module Linter function lint_manifest_path (line 12) | def lint_manifest_path(path) function lint_local_manifest_path (line 32) | def lint_local_manifest_path(path) function lint_light_repos! (line 40) | def lint_light_repos! function lint_raw_json! (line 62) | def lint_raw_json!(dict) FILE: lib/m-git/open_api.rb type MGit (line 5) | module MGit class OpenApi (line 8) | class OpenApi method sync_repos (line 28) | def sync_repos(config_content, download_root) method download_repos (line 72) | def download_repos(config_content, download_root, manage_git:true) method checkout (line 119) | def checkout(repo_name, repo_path, create_branch:false, branch:nil, ... method fetch (line 222) | def fetch(repo_name, repo_path) method pull (line 244) | def pull(repo_name, repo_path) method check_extra_repos (line 267) | def check_extra_repos(path_dict) method concurrent_enumerate (line 298) | def concurrent_enumerate(array, max_concurrent_count:5) method check_permission_batch (line 320) | def check_permission_batch(root, url_list) method check_permission (line 345) | def check_permission(url, root:nil) method validate_argv (line 365) | def validate_argv(method_name, args) method download (line 386) | def download(config, download_root, manage_git:true, sync_exist: false) FILE: lib/m-git/open_api/script_download_info.rb type MGit (line 2) | module MGit class OpenApi (line 3) | class OpenApi type DownloadResult (line 5) | module DownloadResult class ScriptDownloadInfo (line 11) | class ScriptDownloadInfo method initialize (line 28) | def initialize(repo_name, repo_path, result, output, progress) FILE: lib/m-git/output/output.rb type MGit (line 5) | module MGit type Output (line 6) | module Output function puts_cancel_message (line 11) | def puts_cancel_message function puts_succeed_cmd (line 15) | def puts_succeed_cmd(cmd) function puts_start_cmd (line 19) | def puts_start_cmd function puts_fail_cmd (line 23) | def puts_fail_cmd(cmd) function puts_nothing_to_do_cmd (line 27) | def puts_nothing_to_do_cmd function puts_success_message (line 31) | def puts_success_message(str) function puts_remind_message (line 36) | def puts_remind_message(str) function puts_terminate_message (line 41) | def puts_terminate_message(str, title:nil) function puts_fail_message (line 46) | def puts_fail_message(str) function puts_processing_message (line 51) | def puts_processing_message(str) function puts_fail_block (line 56) | def puts_fail_block(list, bottom_summary) function puts_remind_block (line 60) | def puts_remind_block(list, bottom_summary) function puts_processing_block (line 64) | def puts_processing_block(list, bottom_summary) function puts_fail_combined_block (line 68) | def puts_fail_combined_block(list_array, bottom_summary, title:nil) function puts_in_pager (line 72) | def puts_in_pager(output) function continue_with_user_remind? (line 82) | def continue_with_user_remind?(msg) function continue_with_interact_repos? (line 97) | def continue_with_interact_repos?(repos, msg) function continue_with_combined_interact_repos? (line 114) | def continue_with_combined_interact_repos?(repos_array, msg, title:nil) function interact_with_multi_selection_combined_repos (line 139) | def interact_with_multi_selection_combined_repos(list_array, msg, se... function processing_message (line 150) | def processing_message(str) function remind_message (line 154) | def remind_message(str) function success_message (line 158) | def success_message(str) function fail_message (line 162) | def fail_message(str) function terminate_message (line 166) | def terminate_message(str, title:nil) function green_message (line 175) | def green_message(str) function blue_message (line 180) | def blue_message(str) function red_message (line 185) | def red_message(str) function yellow_message (line 190) | def yellow_message(str) function info_title (line 194) | def info_title(str) function generate_fail_combined_block (line 200) | def generate_fail_combined_block(list_array, bottom_summary, title:nil) function generate_remind_block (line 207) | def generate_remind_block(list, bottom_summary) function generate_fail_block (line 213) | def generate_fail_block(list, bottom_summary) function generate_processing_block (line 219) | def generate_processing_block(list, bottom_summary) function generate_block (line 225) | def generate_block(list, bottom_summary) function generate_title_block (line 233) | def generate_title_block(title, has_separator:true) function generate_table_combination (line 252) | def generate_table_combination(list_array, title:nil, separator:'') function generate_table (line 300) | def generate_table(list, title:nil, separator:'', fixed_width:-1, hi... function calculate_table_info (line 368) | def calculate_table_info(list, head_separator, middle_separator, tai... function string_length_by_ascii (line 429) | def string_length_by_ascii(str) function max_meta_display_length_by_char (line 436) | def max_meta_display_length_by_char(str, max_meta_display_length_by_... function secure (line 442) | def secure(num) function update_progress (line 448) | def update_progress(totaltasks, finishtasks) FILE: lib/m-git/plugin_manager.rb type MGit (line 2) | module MGit class PluginManager (line 3) | class PluginManager method setup (line 10) | def self.setup method loaded_plugins (line 41) | def self.loaded_plugins method load_local_plugin_dir (line 47) | def self.load_local_plugin_dir(plugin_prefix, plugins_dir) method load_local_plugins (line 58) | def self.load_local_plugins(plugin_prefix, plugin_root, with_name = ... method load_gem_plugins (line 70) | def self.load_gem_plugins(plugin_prefix) method safe_activate_gem (line 84) | def self.safe_activate_gem(spec, paths) method safe_activate_plugin_files (line 98) | def self.safe_activate_plugin_files(plugin_name, paths) FILE: lib/m-git/repo.rb type MGit (line 6) | module MGit class Repo (line 8) | class Repo method initialize (line 22) | def initialize(name, path, config:nil) method generate_softly (line 31) | def self.generate_softly(root, config) method generate_strictly (line 42) | def self.generate_strictly(root, config) method check_git_dest (line 54) | def self.check_git_dest(root, config) method is_git_repo? (line 69) | def self.is_git_repo?(path) method execute (line 79) | def execute(abs_cmd) method execute_git_cmd (line 97) | def execute_git_cmd(cmd, opts) method git_cmd (line 102) | def git_cmd(cmd, opts) method url_consist? (line 123) | def url_consist? FILE: lib/m-git/repo/status.rb type MGit (line 3) | module MGit class Repo (line 4) | class Repo class Status (line 5) | class Status method initialize (line 119) | def initialize(path) method status (line 125) | def status method message (line 130) | def message method dirty_zone (line 135) | def dirty_zone method branch_status (line 140) | def branch_status method branch_message (line 145) | def branch_message method is_in_merge_progress? (line 151) | def is_in_merge_progress? method is_in_rebase_progress? (line 159) | def is_in_rebase_progress? method is_ancestor_of_branch? (line 167) | def is_ancestor_of_branch?(branch) method tracking_branch (line 203) | def tracking_branch(branch, use_cache:false) method current_branch (line 224) | def current_branch(strict_mode:true, use_cache:false) method current_head (line 246) | def current_head(strict_mode:true) method local_branch_exist? (line 260) | def local_branch_exist?(branch) method remote_branch_exist? (line 265) | def remote_branch_exist?(branch) method commit_exist? (line 270) | def commit_exist?(commit) method default_url (line 278) | def default_url method refresh (line 290) | def refresh method git_dir (line 299) | def git_dir method work_tree (line 304) | def work_tree method has_branch? (line 314) | def has_branch?(branch, is_remote) method check_repo_status (line 328) | def check_repo_status method check_branch_status (line 345) | def check_branch_status method parse_change (line 406) | def parse_change(list) method convert_file_status (line 469) | def convert_file_status(type, status) FILE: lib/m-git/repo/sync_helper.rb type MGit (line 3) | module MGit class Repo (line 5) | class Repo class SyncHelper (line 6) | class SyncHelper method sync_new_repo (line 20) | def sync_new_repo(light_repo, root, link_git:true) method sync_exist_repo (line 102) | def sync_exist_repo(repo, light_repo) method sync_lock_point (line 126) | def sync_lock_point(repo, light_repo) method sync_tag (line 147) | def sync_tag(repo, light_repo) method sync_commit_id (line 163) | def sync_commit_id(repo, light_repo) method sync_branch (line 180) | def sync_branch(repo, light_repo) method sync_remote_url (line 221) | def sync_remote_url(repo, light_repo) method local_bare_git_url (line 234) | def local_bare_git_url(path) method delete_legacy_repo (line 246) | def delete_legacy_repo(repo_abs_path) FILE: lib/m-git/template/local_manifest.rb type MGit (line 3) | module MGit type Template (line 4) | module Template function default_template (line 6) | def default_template function local_config_template (line 15) | def local_config_template(config_repo_name) FILE: lib/m-git/template/manifest_hook.rb type MGit (line 3) | module MGit type Template (line 4) | module Template FILE: lib/m-git/template/post_download_hook.rb type MGit (line 3) | module MGit type Template (line 4) | module Template FILE: lib/m-git/template/post_hook.rb type MGit (line 3) | module MGit type Template (line 4) | module Template FILE: lib/m-git/template/pre_exec_hook.rb type MGit (line 3) | module MGit type Template (line 4) | module Template FILE: lib/m-git/template/pre_hook.rb type MGit (line 3) | module MGit type Template (line 4) | module Template FILE: lib/m-git/template/pre_push_hook.rb type MGit (line 3) | module MGit type Template (line 4) | module Template FILE: lib/m-git/version.rb type MGit (line 2) | module MGit FILE: lib/m-git/workspace.rb type MGit (line 5) | module MGit class Workspace (line 6) | class Workspace method filter_config (line 20) | def filter_config method setup_multi_repo_root (line 25) | def setup_multi_repo_root(initial_root=nil) method setup_config (line 40) | def setup_config(strict_mode:true) method update_config (line 93) | def update_config(strict_mode:true) method setup_all_repos (line 147) | def setup_all_repos(strict_mode: true) method all_repos (line 192) | def all_repos(except_config:false) method locked_repos (line 202) | def locked_repos method update_all_repos (line 208) | def update_all_repos(update_repos_names) method exec_light_repos (line 221) | def exec_light_repos method multi_repo_root_path (line 246) | def multi_repo_root_path method generate_config_repo (line 262) | def generate_config_repo method concurrent_enumerate_with_progress_bar (line 273) | def concurrent_enumerate_with_progress_bar(light_repos, message, &ex... method concurrent_enumerate_with_progress_bar_pure (line 278) | def concurrent_enumerate_with_progress_bar_pure(light_repos, &exec_h... method sync_new_repos (line 290) | def sync_new_repos(repos) method sync_locked_repos (line 343) | def sync_locked_repos(repos) method check_branch_consistency (line 363) | def check_branch_consistency method has_diff_branch? (line 378) | def has_diff_branch?(repos) method guide_to_checkout_branch (line 402) | def guide_to_checkout_branch(new_repos, exist_repos, append_message:... method concurrent_enumerate (line 470) | def concurrent_enumerate(array) method serial_enumerate_with_progress (line 483) | def serial_enumerate_with_progress(array) method execute_git_cmd_with_repos (line 494) | def execute_git_cmd_with_repos(cmd, git_opts, repos) method execute_common_cmd_with_repos (line 520) | def execute_common_cmd_with_repos(abs_cmd, repos) method execute_common_cmd_with_repos_concurrent (line 543) | def execute_common_cmd_with_repos_concurrent(abs_cmd, repos) method show_error (line 570) | def show_error(error_repos, action:nil) method pre_fetch (line 588) | def pre_fetch method is_all_exec_sub_repos? (line 626) | def is_all_exec_sub_repos?(subrepos) method is_all_exec_sub_repos_by_name? (line 639) | def is_all_exec_sub_repos_by_name?(subrepo_names) FILE: lib/m-git/workspace/path_helper.rb type MGit (line 2) | module MGit class Workspace (line 3) | class Workspace type PathHelper (line 7) | module PathHelper function config_file (line 11) | def config_file function hooks_dir (line 17) | def hooks_dir function snapshot_dir (line 23) | def snapshot_dir function source_config_dir (line 29) | def source_config_dir function source_git_dir (line 34) | def source_git_dir function manifest_path (line 39) | def manifest_path function local_manifest_path (line 44) | def local_manifest_path function cache_manifest_path (line 49) | def cache_manifest_path FILE: lib/m-git/workspace/workspace_helper.rb type MGit (line 3) | module MGit class Workspace (line 4) | class Workspace type WorkspaceHelper (line 5) | module WorkspaceHelper function pop_git_entity (line 12) | def pop_git_entity(root, light_repo) function push_git_entity (line 40) | def push_git_entity(root, light_repo) function pop (line 64) | def pop(root, light_repo) function push (line 89) | def push(root, light_repo) function replace (line 117) | def replace(root, light_repo_a, light_repo_b) function sync_workspace (line 128) | def sync_workspace(root, light_repo) function invalid_move? (line 153) | def invalid_move?(from_path, to_path) FILE: test/foundation/test_mgit_config.rb function __stub_config_env (line 14) | def __stub_config_env function __stub_write_config (line 20) | def __stub_write_config FILE: test/test_helper.rb type MGitTest (line 14) | module MGitTest type FileProvider (line 15) | module FileProvider