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

Method startswith

gpt_oss/tools/apply_patch.py:111–112  ·  view source on GitHub ↗
(self, prefix: Union[str, Tuple[str, ...]])

Source from the content-addressed store, hash-verified

109 return False
110
111 def startswith(self, prefix: Union[str, Tuple[str, ...]]) -> bool:
112 return self._norm(self._cur_line()).startswith(prefix)
113
114 def read_str(self, prefix: str) -> str:
115 """

Callers 15

parseMethod · 0.95
runFunction · 0.80
chat_with_modelFunction · 0.80
mainFunction · 0.80
is_doneMethod · 0.80
read_strMethod · 0.80
_parse_add_fileMethod · 0.80
peek_next_sectionFunction · 0.80
text_to_patchFunction · 0.80
identify_files_neededFunction · 0.80
identify_files_addedFunction · 0.80

Calls 2

_normMethod · 0.95
_cur_lineMethod · 0.95

Tested by 1