|
|
uri_is_valid(uri)
(weakly) checks if a uri is valid by looking for a scheme
seperator |
source code
|
|
|
|
|
|
|
uri_get_relative(fromURI,
toURI)
Returns the relative path fromURI --> toURI |
source code
|
|
|
|
uri_open(uri)
Opens a gnomevfs or xdg compatible uri. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
uri_escape(uri)
Escapes a uri, replacing only special characters that would not be
found in paths or host names. |
source code
|
|
|
|
uri_unescape(uri)
Replace "%xx" escapes by their single-character
equivalent. |
source code
|
|
|
|
uri_get_protocol(uri)
Returns the protocol (file, smb, etc) for a URI |
source code
|
|
|
|
|
|
|
uri_get_filename_and_extension(uri)
Returns filename,file_extension |
source code
|
|
|
|
uri_sanitize_for_filesystem(uri,
filesystem=None)
Removes illegal characters in uri that cannot be stored on the
given filesystem - particuarly fat and ntfs types |
source code
|
|
|
|
|
|
|
uri_format_for_display(uri)
Formats the uri so it can be displayed to the user (strips
passwords, etc) |
source code
|
|
|
|
|
|
|
|
|
|
|