Closed
Description
locking/unlocking a file must change its eTag (and get propagated up to root), as otherwise clients will not reload the folder content and thus are not aware of locked state
Originally posted by @tobiasKaminsky in #24 (comment)
I found this while debugging. I assume currently locking a file doesn't change its etag?
(lldb) p metadata.fileName
(String) $R0 = "index.html"
(lldb) p metadata.fileName
(String) $R1 = "scan 22-03-15 10-37-49.pdf"
(lldb) p metadata.etag
(String) $R2 = "42e56559fc5322e74d67f60efe8198ba"
(lldb) p result.etag
(String) $R3 = "42e56559fc5322e74d67f60efe8198ba"
(lldb) p result.lock
(Bool) $R4 = false
(lldb) p metadata.lock
(Bool) $R5 = true