Home > SYS_FileSystem > getEdaPath
SYS_FileSystem.getEdaPath() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Get the EDA document directory path
Signature
typescript
function getEdaPath(): Promise<string>;1
Returns
Promise<string>
EDA document directory path
Remarks
In the returned path, the end does not contain a slash / (or a backslash \)
Note 1: This API is only valid for clients. Calling it in a browser environment will always throw Error
Note 2: This API requires the user to enable the extension external interaction permission, if not enabled, it will always throw Error