MCPcopy
hub / github.com/openai/gpt-oss / DiffError

Class DiffError

gpt_oss/tools/apply_patch.py:50–51  ·  view source on GitHub ↗

Any problem detected while parsing or applying a patch.

Source from the content-addressed store, hash-verified

48# Exceptions
49# --------------------------------------------------------------------------- #
50class DiffError(ValueError):
51 """Any problem detected while parsing or applying a patch."""
52
53
54# --------------------------------------------------------------------------- #

Callers 10

_cur_lineMethod · 0.85
parseMethod · 0.85
_parse_update_fileMethod · 0.85
_parse_add_fileMethod · 0.85
peek_next_sectionFunction · 0.85
_get_updated_fileFunction · 0.85
patch_to_commitFunction · 0.85
text_to_patchFunction · 0.85
apply_commitFunction · 0.85
apply_patchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected