is_local_url#

omni.client.is_local_url(path_or_url: str) bool#

Checks if the url points to a raw path or with scheme `file`.

Parameters:

path_or_url (str) – Path or URL to check for local filesystem.

Returns:

True if URL points to local filesystem.

Return type:

bool