get_uri

emmet.core.tasks.get_uri(dir_name)

Return the URI path for a directory.

This allows files hosted on different file servers to have distinct locations.

Return type:

str

Parameters:

dir_name (str | Path)

Parameters

dir_namestr or Path

A directory name.

Returns

str

Full URI path, e.g., “fileserver.host.com:/full/path/of/dir_name”.