This repository has been archived by the owner on Jul 27, 2023. It is now read-only.
Add a associated function to surf::diff::Diff
that allows us to generate source::commit::Stats
over two commits
#205
Labels
enhancement
New feature or request
Hello everyone,
So I wanted to propose here, that we should add an associated function to
surf::diff::Diff
that would allow us to generate asource::commit::Stats
.Currently it is possible to generate a
surf::diff::Diff
through e.g.radicle-surf/surf/src/vcs/git.rs
Line 543 in 77b1905
But we don't have any function that would calculate the amount of additions and deletions that happened between those commits.
I'm thinking we should be able to convert the additions, deletions loops from here
radicle-surf/source/src/commit.rs
Line 135 in 77b1905
into the mentioned associated function.
The text was updated successfully, but these errors were encountered: