Class: Dapp::Dimg::GitRepo::Own

Inherits:
Local show all
Defined in:
lib/dapp/dimg/git_repo/own.rb

Instance Attribute Summary

Attributes inherited from Local

#path

Attributes inherited from Base

#dapp, #name

Instance Method Summary collapse

Methods inherited from Local

#diff, #get_ruby2go_state_hash, #ignore_patch?, #lookup_commit, #nested_git_directories_patches, #nested_git_repository_mode?, #raise_submodule_commit_not_found!, #submodules_params, #workdir_path

Methods inherited from Base

#blobs_entries, #branch, #commit_exists?, #diff, #empty?, #find_commit_id_by_message, #get_ruby2go_state_hash, #head_commit, #ignore_patch?, #latest_branch_commit, #latest_tag_commit, #lookup_commit, #lookup_object, #nested_git_directories_patches, #patches, #raise_submodule_commit_not_found!, #remote_branches, #remote_origin_url, #remote_origin_url_protocol, #set_ruby2go_state_hash, #submodule_params, #submodule_url, #submodules, #submodules_git_path, #submodules_params, #tags, #tracked_remote_repository?, #walker

Methods included from Helper::Trivia

#check_path?, #check_subpath?, #class_to_lowercase, class_to_lowercase, #delete_file, #ignore_path?, #ignore_path_base, #kwargs, #make_path, #path_checker, #search_file_upward

Constructor Details

#initialize(dapp) ⇒ Own

Returns a new instance of Own.



5
6
7
# File 'lib/dapp/dimg/git_repo/own.rb', line 5

def initialize(dapp)
  super(dapp, 'own', dapp.path.to_s)
end

Instance Method Details

#exclude_pathsObject



9
10
11
# File 'lib/dapp/dimg/git_repo/own.rb', line 9

def exclude_paths
  dapp.local_git_artifact_exclude_paths
end

#submodules_git(_) ⇒ Object



13
14
15
# File 'lib/dapp/dimg/git_repo/own.rb', line 13

def submodules_git(_)
  git
end