This commit is contained in:
Tienson Qin
2020-07-07 22:12:58 +08:00
parent 028a173547
commit 21373e355c
18 changed files with 230 additions and 133 deletions

View File

@@ -0,0 +1,11 @@
(ns frontend.sync.protocol)
(defprotocol Sync
(get-client [this])
(signed? [this])
(get-dir [this path])
(get-more-dir [this more-state])
(create-file [this path contents])
(update-file [this path contents])
(get-file-contents-and-metadata [this path])
(delete-file [this path]))