cellplatform / platform-0.2.0

/sys (shared system modules)
Other
5 stars 2 forks source link

CRDT: Filename extensions (.crdt, .crdt.json) #74

Closed philcockfield closed 2 years ago

philcockfield commented 2 years ago

Filename:

<filename>.crdt
<filename>.crdt.json

Eg:

/dir/
     /filename.crdt
     /filename.crdt.json

await doc.save(fs, path, { snapshot: true }); // <== Default: false
philcockfield commented 2 years ago

Logic implemented here:

https://github.com/cellplatform/platform-0.2.0/pull/77/files#diff-668460d2e331c5d31f90bca0ea8b9415b41a1cfd7b19768bb724f2b82673029dR4