Skip to main content

Module source

Module source 

Source
Expand description

The sync source contract (spec/sync/README.md §5): the in-engine view of an adapter — capabilities, enumerate/fetch, write/remove when it writes through, a watch stream when it can watch. Every call crosses a pipe in production (crate::external::ExternalSource); an in-memory source serves tests.

Structs§

MemSource
An in-memory source for tests: a path → content map with a configurable capability set; writes and removes are applied to the map and logged.
SourceCapabilities
The handshake’s capabilities.
SourceEntry
A member of the scope: its storage key and cheap change token.
SourceItem
A hydrated member: the entry plus its bytes.

Enums§

SourceIdentity
How a source’s identity relates to omgbase block identity.

Traits§

SyncSource
The in-engine handle to a source.