Is it possible to draw a one sided line cap?

I’m really curious if it’s possible to draw a line in Cairo with a line cap on one side? For example, a rounded line cap on one end, and a butt line cap on the other end.

Because when I try to, the line always has the line cap on both ends of the line instead of one.

Is it something that has to be worked around with adding some very complex angles to multiple lines to create a shape?

Probably you need two partly overlapping lines: same width, same direction, same color,
different line caps.

Do you know that cairo still has a mailing list, cairo@cairographics.org?
See also https://www.cairographics.org/lists/.
You are more likely to get a reply from a cairo maintainer there.