Commit graph

4 commits

Author SHA1 Message Date
Aditya Sirish A Yelgundhalli
4719129e24
gitinterface: Add GetObjectType
Signed-off-by: Aditya Sirish A Yelgundhalli <ayelgundhall@bloomberg.net>
2025-02-20 12:15:45 -05:00
Aditya Sirish
79efbf235f
gitinterface: Support types for tree entries
Signed-off-by: Aditya Sirish <aditya@saky.in>
2025-02-02 14:07:34 -05:00
Aditya Sirish
3236696c98
*: Extend TreeBuilder to reuse existing trees
If an intermediate tree already exists and we know this ahead of time,
we should use it without recreating it with all of its contents resolved
and written recursively. This commit adds support for such cases and
renames TreeBuilder's APIs to generalize away from accepting blob IDs
only.

Signed-off-by: Aditya Sirish <aditya@saky.in>
2025-02-02 12:06:18 -05:00
Aditya Sirish
a1d2f339e4
gitinterface: Add repository.HasObject
Signed-off-by: Aditya Sirish <aditya@saky.in>
2025-02-01 18:20:39 -05:00