Files
radicle-git/radicle-surf/t/src
Fintan Halpenny 30d8275e5f surf: avoid last commit computation on Tree
The computation for getting the last commit that touched a `Tree` can be
expensive. This is avoided when constructing the `Tree` and is moved to a method
on the `Tree` and `Entry`, aptly named `last_commit`.

`Tree::commit` is kept, however, it now refers to the `Commit` that was used
when constructing the `Tree`. This is required to calculate the last commit. It
was also necessary to add the path of the `Tree`.

For adding `Entry::last_commit`, it was necessary to add the path of the
`Entry`. Incidentally, this can be useful for consumers, since just the `name`
would mean that they would have to manually construct the full path.
2025-07-15 17:19:35 +01:00
..
2023-01-30 02:58:50 -08:00
2024-06-28 12:08:44 +01:00
2024-03-13 14:11:36 +00:00
2023-01-05 19:19:14 -08:00
2025-02-10 14:11:28 +00:00
2025-02-10 14:11:28 +00:00