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

Method split

python/collaboration/merge.py:385–398  ·  view source on GitHub ↗

Split a field conflict into any number of alternate conflicts. Note: Returned conflicts will also be checked for splitting, beware infinite loops! If this function raises, it will be treated as returning None :param key: Original conflicting field's key :param conflict: Original conflict

(self, key: str, conflict: MergeConflict, result: KeyValueStore)

Source from the content-addressed store, hash-verified

383
384 @abc.abstractmethod
385 def split(self, key: str, conflict: MergeConflict, result: KeyValueStore) -> Optional[Dict[str, MergeConflict]]:
386 """
387 Split a field conflict into any number of alternate conflicts.
388 Note: Returned conflicts will also be checked for splitting, beware infinite loops!
389 If this function raises, it will be treated as returning None
390
391 :param key: Original conflicting field's key
392 :param conflict: Original conflict data
393 :param result: Kvs structure containing the result of all splits. You should use the original conflict's
394 success() function in most cases unless you specifically want to write a new key to this.
395 :return: A collection of conflicts into which the original conflict was split, or None if
396 this splitter cannot handle the conflict
397 """
398 raise NotImplementedError("Not implemented")

Callers 4

_splitMethod · 0.95
initMethod · 0.45
cli_lift.pyFile · 0.45
escaped_outputFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected