listCodeDefinitionNames
codebolt.fs.listCodeDefinitionNames(filePath: string): Promise<listCodeDefinitionNamesResponse>
Parameters
Name | Type | Description |
---|---|---|
filePath | string | The path of the file to update. |
Returns:
Promise<listCodeDefinitionNamesResponse>
A promise that resolves with the server response.Example
let { success, result } = await codebolt.fs.listCodeDefinitionNames(path);
Explaination
The codebolt.fs.listCodeDefinitionNames method extract meaningful code definitions from a path source files returns success and result. as output.