Skip to main content

parse_app_spec

Function parse_app_spec 

Source
pub fn parse_app_spec(spec: &str) -> Result<AppSpec>
Expand description

Resolve a raw app spec into an AppSpec. Mirrors JSS parseAppSpec.

Grammar (suffixes are optional and order-independent here, parsed rename-first then ref): <source>[#<ref>][=<dest>].

<source> resolution:

  • full URL (http(s)://, git@, ssh://) → used verbatim
  • org/repohttps://github.com/org/repo
  • bare namehttps://github.com/solid-apps/name