Vault.getAvailablePath method
Vault › getAvailablePath
Unofficial
Get path for file that does not conflict with other existing filesSignature:
getAvailablePath(path: string, extension: string): stringParameters:
| Parameter | Type | Description |
|---|---|---|
| path | string | The desired path. |
| extension | string | The file extension. |
Returns: string — An available path that does not conflict with existing files.