Modules§
Functions§
- base64_
decode - Decode a base64-encoded string to raw bytes.
- link_
path - Wrap a styled path string in an OSC 8 hyperlink if the terminal supports it.
The
raw_pathis resolved againstcwdto produce the file:// URL. - resolve_
path - Resolve a path (relative or absolute) against a working directory.
Expands
~to the user’s home directory. - shorten_
path - Shorten a path by replacing home directory with
~.