Expand description
Reference parsing: turns whatever the user types into a structured
ParsedRef { site, library, path } without touching the network.
Five input forms (tried in order):
- Full SharePoint URL (incl.
Forms/AllItems.aspx?id=...) Site:Library/path:Library/path(uses default_site from profile)- Bare
Library/path(only when default_site is set; resolved later) spo://<site>/<library>/<path>
The parser is intentionally network-free; site/library lookup happens in
graph::sites / graph::drives after this returns.
Structs§
Enums§
Functions§
- parse
- Parse a reference string.
default_site_setlets the parser distinguish the bareLibrary/pathform from an unrelated identifier.