Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get preferences directly instead of parsing divvun-checker -p #17

Open
unhammer opened this issue Oct 2, 2024 · 0 comments
Open

get preferences directly instead of parsing divvun-checker -p #17

unhammer opened this issue Oct 2, 2024 · 0 comments

Comments

@unhammer
Copy link
Member

unhammer commented Oct 2, 2024

@bbqsrc

pub fn list_preferences(data_file_path: &str) -> Result<BTreeMap<String, String>, Error> {

divvun-checker -p is just a "human-readable" summary of preferences, was never meant for computer consumption. Can divvun-api read the errors.xml directly? Or divvun-checker could just output the xml if you want to avoid doing the unzip.

cf. divvun/libdivvun#80

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant