Locator¶
Encapsulation of the bundle dependency's locator string, parsed into distinct fields. locator := repo_path[.vcs_suffix][/bundle_path]
Implements¶
- Hashable ref
- Stringable box
Constructors¶
create¶
Parameters¶
- loc: String val
Returns¶
- Locator val^
Public fields¶
let repo_path: String val¶
let vcs_suffix: String val¶
let bundle_path: String val¶
Public Functions¶
path¶
Returns a unique name for this locator without the vcs suffix.
Returns¶
- String val
flat_name¶
Returns¶
- String val
string¶
Returns the full string for of this locator.
Returns¶
- String iso^
compare¶
Parameters¶
- that: Locator box
Returns¶
hash¶
Returns¶
- USize val
is_vcs¶
Returns¶
- Bool val
is_local¶
Returns¶
- Bool val
is_remote_vcs¶
Returns¶
- Bool val
is_local_vcs¶
Returns¶
- Bool val
is_local_direct¶
Returns¶
- Bool val