@salesforce/agents
    Preparing search index...

    Function applyStringReplacements

    • Applies string replacements to a specific file's content

      This uses SDR's replacement configuration format and helper functions to maintain compatibility with the standard sfdx-project.json replacement schema.

      Parameters

      • filePath: string

        The file to check for replacements

      • content: string

        The content of the file

      • project: SfProject

        The SfProject instance

      Returns Promise<ReplacementResult>

      The modified content and replacement details