isOpfsPathInsideDirectory()
function isOpfsPathInsideDirectory(opfsPath, directoryPath?): boolean;
Defined in: packages/rxdb-plugin-storage/src/paths.ts:149
判断文件是否位于指定目录或其任意子目录中。
Parameters
| Parameter | Type |
|---|---|
opfsPath | string |
directoryPath? | string |
Returns
boolean