Include saved mtime and fingerprint when serializing buffers

This still doesn't include:

- An assertion in the randomized test to ensure buffers are not spuriously
marked as modified
- Sending an update when synchronizing buffers after a reconnection
This commit is contained in:
Antonio Scandurra 2023-01-16 16:22:47 +01:00
parent 625151806a
commit 467e5691b9
2 changed files with 9 additions and 0 deletions

View file

@ -975,6 +975,8 @@ message BufferState {
string base_text = 3;
optional string diff_base = 4;
LineEnding line_ending = 5;
string saved_version_fingerprint = 6;
Timestamp saved_mtime = 7;
}
message BufferChunk {