-
I wonder whats the right way of figuring out whats the branch currently checked out by using gix as a library (from a custom binary)? |
Beta Was this translation helpful? Give feedback.
Answered by
Ltrlg
Feb 20, 2024
Replies: 1 comment 1 reply
-
I think you need a chain of the following calls:
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Byron
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think you need a chain of the following calls:
Repository::head
Head::referent_name
FullNameRef::category_and_short_name
(and filter on category)