fn create_uri_from_file_path(
file_path: &Path,
link_text: &str,
ignore_absolute_local_links: bool,
) -> LycheeResult<Uri>Expand description
Create a URI from a file path
ยงErrors
- If the link text is an anchor and the file name cannot be extracted from the file path.
- If the path cannot be resolved.
- If the resolved path cannot be converted to a URL.