pub async fn types(path: impl AsRef<Path>) -> HashSet<ProjectType>
Expand description
Returns all project types detected at this given origin.
This should be called with a result of origins()
, or a project origin if already known; it
will not find the origin itself.
The returned list may be empty.
Note that this only detects project types listed in the ProjectType
enum, and may not detect
anything for some paths returned by origins()
.