mirror of
https://github.com/logseq/logseq.git
synced 2026-05-02 18:06:32 +00:00
wip
This commit is contained in:
11
web/src/main/frontend/sync/protocol.cljs
Normal file
11
web/src/main/frontend/sync/protocol.cljs
Normal 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]))
|
||||
Reference in New Issue
Block a user