parameters: (self, file_hash, is_binary)
return_statement: return data
docstring: Returns the content of a file identified by its git hash.
docstring_summary: Returns the content of a file identified by its git hash.
docstring_tokens: Returns the content of a file identified by its git hash .
function: def GetFileContent(self, file_hash, is_binary):
      """Returns the content of a file identified by its git hash."""
      data, retcode = RunShellWithReturnCode(["git", "show", file_hash],
                                              universal_newlines=not is_binary)
      if retcode:
        ErrorExit("Got error status from 'git show %s'" % file_hash)
      return data
function_tokens: def GetFileContent ( self , file_hash , is_binary ) : data , retcode = RunShellWithReturnCode ( [ "git" , "show" , file_hash ] , universal_newlines = not is_binary ) if retcode : ErrorExit ( "Got error status from 'git show %s'" % file_hash ) return data