Skip to content
View as Markdown
View as Markdown

@salesforce/b2c-tooling-sdk / operations/debug / SourceMapper

Interface: SourceMapper

Defined in: packages/b2c-tooling-sdk/src/operations/debug/source-mapping.ts:17

Methods

toLocalPath()

toLocalPath(scriptPath): string | undefined

Defined in: packages/b2c-tooling-sdk/src/operations/debug/source-mapping.ts:21

Convert an SDAPI script_path to a local filesystem path.

Parameters

scriptPath

string

Returns

string | undefined


toServerPath()

toServerPath(localPath): string | undefined

Defined in: packages/b2c-tooling-sdk/src/operations/debug/source-mapping.ts:19

Convert a local filesystem path to an SDAPI script_path.

Parameters

localPath

string

Returns

string | undefined

Released under the Apache-2.0 License.