class_docstr: Lexer for unified or context-style diffs or patches.
code: def analyse_text(text):
      if text[:7] == "Index: ":
          return True
      if text[:5] == "diff ":
          return True
      if text[:4] == "--- ":
          return 0.9
  
file_path: wandb/wandb/vendor/pygments/lexers/diff.py
imports: import re
  from pygments.lexer import RegexLexer, include, bygroups
  from pygments.token import Text, Comment, Operator, Keyword, Name, Generic, Literal
label_desc: Use image node_id 1 for calling the DiffLexer obj's underlying member method code with example usage: obj.analyse_text(text) and returns: True, True, int