mor
This commit is contained in:
parent
ff1f474324
commit
e151208e15
1 changed files with 2933 additions and 784 deletions
59
frontend/test-client/corpus/conflict-copy.json
Normal file
59
frontend/test-client/corpus/conflict-copy.json
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
{
|
||||
"version": 2,
|
||||
"seed": 1,
|
||||
"iterations": 3,
|
||||
"clients": 3,
|
||||
"steps": [],
|
||||
"program": {
|
||||
"clients": 3,
|
||||
"cacheBytes": 0,
|
||||
"initial": [
|
||||
{
|
||||
"type": "create",
|
||||
"key": "sentinel",
|
||||
"path": "untouched.bin",
|
||||
"content": [0, 255, 254, 128, 13, 10]
|
||||
}
|
||||
],
|
||||
"epochs": [
|
||||
{
|
||||
"writer": 0,
|
||||
"actions": [
|
||||
{
|
||||
"type": "pair",
|
||||
"key": "first",
|
||||
"other": "conflict",
|
||||
"peer": 1,
|
||||
"path": "café/note.md",
|
||||
"content": "\ufefffirst\r\n",
|
||||
"peerContent": "日本語 🦊\n"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"writer": 2,
|
||||
"actions": [
|
||||
{
|
||||
"type": "write",
|
||||
"key": "conflict",
|
||||
"content": [0, 255, 1]
|
||||
},
|
||||
{ "type": "rename", "key": "conflict", "path": "moved.bin" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"writer": 1,
|
||||
"actions": [
|
||||
{ "type": "delete", "key": "conflict" },
|
||||
{
|
||||
"type": "create",
|
||||
"key": "new",
|
||||
"path": "moved.bin",
|
||||
"content": "new text\n"
|
||||
},
|
||||
{ "type": "write", "key": "first", "content": "" }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue