MCPcopy Index your code
hub / github.com/pre-commit/pre-commit / match

Method match

pre_commit/yaml_rewrite.py:15–15  ·  view source on GitHub ↗
(self, n: Node)

Source from the content-addressed store, hash-verified

13
14class _Matcher(Protocol):
15 def match(self, n: Node) -> Generator[Node]: ...
16
17
18class MappingKey(NamedTuple):

Callers 8

checkMethod · 0.45
_matchFunction · 0.45
install_environmentFunction · 0.45
_original_linesFunction · 0.45
_write_new_configFunction · 0.45
test_mapping_not_a_mapFunction · 0.45
test_sequence_itemFunction · 0.45

Calls

no outgoing calls

Tested by 3

test_mapping_not_a_mapFunction · 0.36
test_sequence_itemFunction · 0.36