MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / can_split

Method can_split

python/collaboration/merge.py:374–382  ·  view source on GitHub ↗

Test if the splitter applies to a given conflict (by key). :param key: Key of the conflicting field :param conflict: Conflict data :return: True if this splitter should be used on the conflict

(self, key: str, conflict: MergeConflict)

Source from the content-addressed store, hash-verified

372
373 @abc.abstractmethod
374 def can_split(self, key: str, conflict: MergeConflict) -> bool:
375 """
376 Test if the splitter applies to a given conflict (by key).
377
378 :param key: Key of the conflicting field
379 :param conflict: Conflict data
380 :return: True if this splitter should be used on the conflict
381 """
382 raise NotImplementedError("Not implemented")
383
384 @abc.abstractmethod
385 def split(self, key: str, conflict: MergeConflict, result: KeyValueStore) -> Optional[Dict[str, MergeConflict]]:

Callers 1

_can_splitMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected