Result of a find and replace operation

interface FindReplaceResult {
    filePath: string;
    matches: SearchMatch[];
    replacements: number;
}

Properties

filePath: string

File path where replacements were made

matches: SearchMatch[]

Matches that were replaced (in preview mode, shows what would be replaced)

replacements: number

Number of replacements made