Files
logseq/web/src/main/frontend/sync/protocol.cljs
Tienson Qin 21373e355c wip
2020-07-07 22:12:58 +08:00

12 lines
297 B
Clojure

(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]))