Closed fosskers closed 3 years ago
Only name and version are actually required. Everything may not actually exist. Docs will get there eventually.
When it doesn't actually exist, what happens when alpm_pkg_get_arch
is called? Do you get a null pointer?
Yep.
If you do plan to fix the docs. For the love of god pleas hold of until my huge patch set is merged. Rebasing not fun.
No problem. I had a few other docs-related things I want to do in the pacman
repo, but yeah I'm going to wait until yours are all in.
Between the two of us we can probably get the docs both there and here looking pretty nice.
I noticed that
Package::arch
returns inOption
:Yet
alpm
itself seems total:which has the exact same structure as
name
:which is a total function in the Rust. Could the Rust also return a plain
&'a str
forarch()
?