Skip to content

Lossless path prefix adjustment in edit module #59

@jelmer

Description

@jelmer

The strip_prefix() function works on the traditional parsed representation, but there's no equivalent for the lossless edit module. It would be useful to be able to adjust or normalize path prefixes (e.g. adding or removing a//b/ prefixes) while preserving all other formatting in the patch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions