Skip to main content

Module uri

Module uri 

Source
Expand description

The syncweb:// URI and ticket codec.

Folder shares are encoded as syncweb://folder/<namespace>?ticket=<ticket>. This module is the single writer, reader, and validator for that format so share URLs round-trip through the CLI, the daemon, and the core library.

Functionsยง

folder_url
The syncweb://folder/<namespace>?ticket=<ticket> share URL.
is_folder_url
Whether a value is a syncweb://folder/ share URL.
parse_folder_ticket
Parse a folder share URL or a bare iroh-docs ticket into a DocTicket.