跳到主要内容

isOpfsPathInsideDirectory()

function isOpfsPathInsideDirectory(opfsPath, directoryPath?): boolean;

Defined in: packages/rxdb-plugin-storage/src/paths.ts:149

判断文件是否位于指定目录或其任意子目录中。

Parameters​

ParameterType
opfsPathstring
directoryPath?string

Returns​

boolean