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.
获取 EDA 文档目录路径
Signature
typescript
getEdaPath(): Promise<string>;
1
Returns
Promise<string>
EDA 文档目录路径
Remarks
返回的路径中,结尾不包含斜杠 /
(或反斜杠 \
)
注意 1:本接口仅客户端有效,在浏览器环境内调用将始终 throw Error
注意 2:本接口需要使用者启用扩展的外部交互权限,如若未启用将始终 throw Error