Crate agpm_suggestions

Source
Expand description

§agpm_suggestions

This crate provides a 2 functions, and a trait

The trait SuggestionsDirs is an ‘add on’ to the Directories trait, adding one function to get the directory where the suggestions are supposed to be stored

Then it provides a function to download the suggestions and another to get them for a given directory

In said directory it explores conformity to known structures (such as having a Makefile or a meson.build files), and the information available in different *.md.

Enums§

SuggestionsError
An error type for the BuildSuggestions struct.

Traits§

SuggestionsDirs
A trait to get a suggestions directory for the DB

Functions§

download_resources
Downloads all elements in the REGISTRY and stores them.
get_suggestions
Get the suggestions for a given path to a project directory