add mapping of local and remote

This commit is contained in:
fyears
2021-10-25 00:41:13 +08:00
parent 5ef032523a
commit 69bc1f0e03
5 changed files with 234 additions and 51 deletions
+2
View File
@@ -1,6 +1,8 @@
import { Vault } from "obsidian";
import * as path from "path";
export type SUPPORTED_SERVICES_TYPE = "s3" | "webdav" | "ftp";
export const ignoreHiddenFiles = (item: string) => {
const basename = path.basename(item);
return basename === "." || basename[0] !== ".";