Skip to content

Applying a diff #97

@emilk

Description

@emilk

It would be great if a diff could be applied to an original like so:

    let original = ...;
    let copy = ...;
    let diff = original.diff(&copy);
    
    let reconstructed = diff.apply(&original).unwrap();
    assert_eq!(copy, reconstructed);

Then diffus could be used for delta-encoding.

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