MCPcopy Create free account
hub / github.com/SourceCode-AI/aura / node_Bytes

Method node_Bytes

aura/analyzers/data_finder.py:113–120  ·  view source on GitHub ↗
(self, context: Context)

Source from the content-addressed store, hash-verified

111 yield self.__generate_hit(context, hit, value)
112
113 def node_Bytes(self, context: Context):
114 try:
115 value = str(context.node)
116 except (UnicodeDecodeError, TypeError):
117 return
118
119 for hit in PatternMatcher.find_matches(value, self.__compiled_signatures):
120 yield self.__generate_hit(context, hit, value)
121
122 def __generate_hit(self, context: Context, hit, value: str):
123 score = hit._signature.get("score", 0)

Callers

nothing calls this directly

Calls 2

__generate_hitMethod · 0.95
find_matchesMethod · 0.80

Tested by

no test coverage detected