This allows to get the latest path of a FileDiff, directly from radicle_surf
Usage example: In the radicle-httpd diff endpoints we want to add the blobs of the files that are involved in a diff, and this way we could do a repo.blob(commit, file_diff.path()) to get the path quickly.
This allows to get the latest path of a
FileDiff
, directly fromradicle_surf
Usage example: In the
radicle-httpd
diff endpoints we want to add the blobs of the files that are involved in a diff, and this way we could do arepo.blob(commit, file_diff.path())
to get thepath
quickly.