mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 14:14:55 +00:00
12 lines
297 B
Clojure
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]))
|