normalizeRelativeOpfsPath()
function normalizeRelativeOpfsPath(path): string;
Defined in: packages/rxdb-plugin-storage/src/paths.ts:94
把 storage 路径规范化为不带开头 / 的 OPFS 相对路径。
Parameters
| Parameter | Type |
|---|---|
path | string |
Returns
string
Throws
StorageInvalidPathError 路径包含非法段时抛出。