Crate osh_dir_std

Source

Re-exports§

pub use data::DEFAULT_STD_NAME;

Modules§

constants
data
format
stds
tree

Structs§

Coverage
Indicates which relative paths of all dirs and files in a project are covered by what parts of a specific dir standard.
Rating
RatingCont

Constants§

VERSION

Functions§

best_fit
Given a set of ratings, filters out the one with the higest factor. If multiple have the same, highest factor, the first one is returned.
cover_listing
Given a set of the relative paths of all dirs and files in a project, for each of the known dir standards from https://github.com/hoijui/osh-dir-std/, calculate what record of the standard each dir or file might be covered under.
cover_listing_by_stds
Given a set of the relative paths of all dirs and files in a project, for each of the known dir standards from https://github.com/hoijui/osh-dir-std/, calculate how likely it seems that the project is following this standard, and then only return the coverage for the best fit.
cover_listing_with
Given a set of the relative paths of all dirs and files in a project, for the given directory standard, calculate what record of the standard each dir or file might be covered under.
rate_listing
Given a set of the relative paths of all dirs and files in a project, for each of the known dir standards from https://github.com/hoijui/osh-dir-std/, calculate how likely it seems that the project is following this standard.
rate_listing_by_stds
Given a set of the relative paths of all dirs and files in a project, for each of the known dir standards from https://github.com/hoijui/osh-dir-std/, calculate how likely it seems that the project is following this standard, and then only return the rating for the best fit.
rate_listing_with
Given a set of the relative paths of all dirs and files in a project, for the given directory standard, calculate how likely it seems that the project is following this standard.