Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
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.17",
|
||||||
"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.17",
|
||||||
"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.17",
|
||||||
"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",
|
||||||
|
|||||||
+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