addGenericFileEdit abstract method

Future<void> addGenericFileEdit(
  1. String path,
  2. void buildFileEdit(
    1. FileEditBuilder builder
    )
)

Use the buildFileEdit function to create a collection of edits to the file with the given path. The edits will be added to the source change that is being built.

The builder passed to the buildFileEdit function has no special support for any particular kind of file.

Implementation

Future<void> addGenericFileEdit(
    String path, void Function(FileEditBuilder builder) buildFileEdit);