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 → contentmap with a configurable capability set; writes and removes are applied to the map and logged. - Source
Capabilities - The handshake’s capabilities.
- Source
Entry - A member of the scope: its storage key and cheap change token.
- Source
Item - A hydrated member: the entry plus its bytes.
Enums§
- Source
Identity - How a source’s identity relates to omgbase block identity.
Traits§
- Sync
Source - The in-engine handle to a source.