(link)
return os.path.isdir(link_path)
Return whether a file:// Link points to a directory.

    ``link`` must not have any other scheme but file://. Call is_file_url()
    first.
Return whether a file:// Link points to a directory.
Return whether a file : // Link points to a directory .
def is_dir_url(link):
    # type: (Link) -> bool
    """Return whether a file:// Link points to a directory.

    ``link`` must not have any other scheme but file://. Call is_file_url()
    first.

    """
    link_path = url_to_path(link.url_without_fragment)
    return os.path.isdir(link_path)
def is_dir_url ( link ) : # type: (Link) -> bool link_path = url_to_path ( link . url_without_fragment ) return os . path . isdir ( link_path )