59 lines
1.7 KiB
JSON
59 lines
1.7 KiB
JSON
{
|
|
"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": "" }
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|