invoke

operator fun invoke(file: StigRepoFile, find: String, replace: String, regex: Boolean = true, skipIfContains: String? = null, required: Boolean = true, description: String? = null, replaceFromFile: File? = null): StigPatchSpec

Creates a StigPatchSpec with a repo-resolved file path. The StigRepoFile.file resolved absolute path is used as the patch target.

patch(StigPatchSpec(
file = repos["sourceRepo"] / "lifecycle framework/scheduling/throttled_parallel_scheduler.cpp",
find = "...",
replace = "...",
))