Expand description
Source string parsing.
Converts user-provided source strings (GitHub shorthand, URLs, local paths,
etc.) into a structured ParsedSource.
Functionsยง
- get_
owner_ repo - Extract
owner/repo(orgroup/subgroup/repoforGitLab) from a parsed source for telemetry and lock-file tracking. - parse_
owner_ repo - Parse
owner/repointo separate components. - parse_
source - Parse a source string into a structured
ParsedSource. - sanitize_
subpath - Sanitize a subpath to prevent path traversal.