fn resolve_and_create_url(
src_path: &Path,
dest_path: &str,
ignore_absolute_local_links: bool,
) -> LycheeResult<Url>Expand description
Create a URI from a path
src_path is the path of the source file.
dest_path is the path being linked to.
The optional base_uri specifies the base URI to resolve the destination path against.
ยงErrors
- If the percent-decoded destination path cannot be decoded as UTF-8.
- The path cannot be resolved
- The resolved path cannot be converted to a URL.