Skip to content
English

分支与版本管理 ​

Kit · 可选业务库 · 返回本层目录

符号类别用途
AgentFamilyinterfaceCompiled family API. Every mutation returns the record after the write.
defineAgentFamilyfunctionCompile a versioned family backed by an App-owned compare-and-swap store. Every mutation reads the record, verifies the caller's expected revision, then commits with a compare-and-swap, so concurrent writers fail with a revision conflict rather than overwriting each other. Reads are also treated as policy checks because the App binds its read rules into the store it supplies.
Familyconstant
FamilyDefinitioninterfaceApp-owned hooks and limits for one family.
FamilyOperationtypeOne of the four family mutations.
familyOperationsconstant
FamilyRecordinterfaceA whole family: its versions and which version is currently active.
FamilyStoreinterfaceCAS must cover every writer and the active pointer in one real storage commit.
FamilyVersioninterfaceImmutable snapshot of App state at one point on a branch.

接口参考、使用示例与开发指南。