Method: Overcommit::HookContext::Base#all_files

Defined in:
lib/overcommit/hook_context/base.rb

#all_filesArray<String>

Returns the full list of files tracked by git

Returns:

  • (Array<String>)


87
88
89
# File 'lib/overcommit/hook_context/base.rb', line 87

def all_files
  Overcommit::GitRepo.all_files
end