Skip to main content

Module traits

Module traits 

Source

Structs§

ComparatorDescriptor
Static metadata for a comparator plugin. Serializable — can be sent as a message, embedded in WASM custom sections, or written to a manifest.
RendererDescriptor
Static metadata for a renderer plugin.
TransformerDescriptor
Static metadata for a transformer plugin.

Enums§

BinocError

Constants§

SDK_VERSION

Traits§

Comparator
A plugin that claims an item pair and either emits a leaf diff or expands the pair into child items for further processing.
DataAccess
Mediates all data I/O for plugins. Replaces direct filesystem access (Item.physical_path) and shared mutable context (CompareContext).
Renderer
A plugin that renders changesets into a human-readable format.
Transformer
A plugin that rewrites the completed diff tree.

Functions§

check_sdk_compatibility
Check whether a plugin’s SDK version is compatible with this host’s SDK.

Type Aliases§

BinocResult