Skip to main content

listCodeDefinitionNames

codebolt.fs.listCodeDefinitionNames(filePath: string): Promise<listCodeDefinitionNamesResponse>

Parameters

NameTypeDescription
filePathstringThe 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.