Skip to content

Ignore path #22

Description

@giuseppepaul

Just wondering if there's any recommended way of ignoring certain paths? I'm using diff and patch which are both great, but I have nested maps at certain points in the structure that I'd like to never be changed by the patch.

Without changing the structure of my data, my current idea is just to run the diff and then filter out anything with a specified name, say "_ignore" in the path, then patch from there.

Only problem with this is if I have a bunch of changes inside my "_ignore" then it's going to hurt performance, so it'd obviously be better to have diff ignore those if possible.

Appreciate any thoughts / help.

Thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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