Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c0aec40bcc | ||
|
|
fb2f4ef46f | ||
|
|
52f3e6a265 | ||
|
|
b5099854af |
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "remotely-save",
|
"id": "remotely-save",
|
||||||
"name": "Remotely Save",
|
"name": "Remotely Save",
|
||||||
"version": "0.5.16",
|
"version": "0.5.18",
|
||||||
"minAppVersion": "0.13.21",
|
"minAppVersion": "0.13.21",
|
||||||
"description": "Yet another unofficial plugin allowing users to synchronize notes between local device and the cloud service.",
|
"description": "Yet another unofficial plugin allowing users to synchronize notes between local device and the cloud service.",
|
||||||
"author": "fyears",
|
"author": "fyears",
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "remotely-save",
|
"id": "remotely-save",
|
||||||
"name": "Remotely Save",
|
"name": "Remotely Save",
|
||||||
"version": "0.5.16",
|
"version": "0.5.18",
|
||||||
"minAppVersion": "0.13.21",
|
"minAppVersion": "0.13.21",
|
||||||
"description": "Yet another unofficial plugin allowing users to synchronize notes between local device and the cloud service.",
|
"description": "Yet another unofficial plugin allowing users to synchronize notes between local device and the cloud service.",
|
||||||
"author": "fyears",
|
"author": "fyears",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "remotely-save",
|
"name": "remotely-save",
|
||||||
"version": "0.5.16",
|
"version": "0.5.18",
|
||||||
"description": "This is yet another sync plugin for Obsidian app.",
|
"description": "This is yet another sync plugin for Obsidian app.",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev2": "node esbuild.config.mjs --watch",
|
"dev2": "node esbuild.config.mjs --watch",
|
||||||
|
|||||||
+1
-1
@@ -26,7 +26,7 @@ export abstract class FakeFs {
|
|||||||
// await delay(3000);
|
// await delay(3000);
|
||||||
|
|
||||||
console.info(`check connect: upload file`);
|
console.info(`check connect: upload file`);
|
||||||
const filename = `${folderName}/rs-test-file-${nanoid()}`;
|
const filename = `${folderName}rs-test-file-${nanoid()}`;
|
||||||
const ctime = Date.now();
|
const ctime = Date.now();
|
||||||
const mtime1 = Date.now();
|
const mtime1 = Date.now();
|
||||||
const content1 = new ArrayBuffer(100);
|
const content1 = new ArrayBuffer(100);
|
||||||
|
|||||||
+2
-2
@@ -117,7 +117,7 @@ export class FakeFsWebdis extends FakeFs {
|
|||||||
let cursor = "0";
|
let cursor = "0";
|
||||||
const res: Entity[] = [];
|
const res: Entity[] = [];
|
||||||
do {
|
do {
|
||||||
const command = `SCAN/${cursor}/MATCH/rs:fs:v1:*:meta/COUNT/1000`;
|
const command = `SCAN/${cursor}/MATCH/rs:fs:v1:${encodeURIComponent(this.remoteBaseDir + "/")}*:meta/COUNT/1000`;
|
||||||
const rsp = (await (await this._fetchCommand("GET", command)).json())[
|
const rsp = (await (await this._fetchCommand("GET", command)).json())[
|
||||||
"SCAN"
|
"SCAN"
|
||||||
];
|
];
|
||||||
@@ -136,7 +136,7 @@ export class FakeFsWebdis extends FakeFs {
|
|||||||
async walkPartial(): Promise<Entity[]> {
|
async walkPartial(): Promise<Entity[]> {
|
||||||
let cursor = "0";
|
let cursor = "0";
|
||||||
const res: Entity[] = [];
|
const res: Entity[] = [];
|
||||||
const command = `SCAN/${cursor}/MATCH/rs:fs:v1:*:meta/COUNT/10`; // fewer keys
|
const command = `SCAN/${cursor}/MATCH/rs:fs:v1:${encodeURIComponent(this.remoteBaseDir + "/")}*:meta/COUNT/10`; // fewer keys
|
||||||
const rsp = (await (await this._fetchCommand("GET", command)).json())[
|
const rsp = (await (await this._fetchCommand("GET", command)).json())[
|
||||||
"SCAN"
|
"SCAN"
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user