1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

All: Simplified synchronisation of resources to simplify encryption, and implemented resource encryption

This commit is contained in:
Laurent Cozic
2017-12-19 19:01:29 +00:00
parent 26bf7c4d46
commit cc02c1d585
11 changed files with 205 additions and 41 deletions

View File

@ -14,6 +14,10 @@ class FsDriverRN {
throw new Error('Not implemented');
}
move(source, dest) {
throw new Error('Not implemented');
}
async open(path, mode) {
// Note: RNFS.read() doesn't provide any way to know if the end of file has been reached.
// So instead we stat the file here and use stat.size to manually check for end of file.