Method: Git::DiffPathStatus#to_h

Defined in:
lib/git/diff_path_status.rb

#to_hHash<String, String>

Returns the name-status report as a Hash.

Returns:

  • (Hash<String, String>)

    A hash where keys are file paths and values are their status codes.



32
33
34
# File 'lib/git/diff_path_status.rb', line 32

def to_h
  fetch_path_status
end