rpm-rs icon indicating copy to clipboard operation
rpm-rs copied to clipboard

highlevel API

Open drahnr opened this issue 5 years ago • 1 comments
trafficstars

  • [ ] High Level API for RPM Reading

is part of the README, but what precisely do you have in mind for this?

drahnr avatar Apr 22 '20 15:04 drahnr

I want to be able to access RPM meta data without conversion.

Something like this:

https://github.com/Richterrettich/rpm-rs/blob/master/src/rpm.rs#L577

pub fn get_name(&self) -> Result<&str, RPMError>

This is partially implemented but there are still some fields missing.

Richterrettich avatar Apr 22 '20 16:04 Richterrettich