Function pkgcraft::atom::pkgcraft_atom_category
source · Expand description
Return an atom’s category, e.g. the atom “=cat/pkg-1-r2” has a category of “cat”.
Safety
The argument must be a non-null Atom pointer.
Return an atom’s category, e.g. the atom “=cat/pkg-1-r2” has a category of “cat”.
The argument must be a non-null Atom pointer.