- public string canonicalize (string filename, string? relative_to = null)
Gets the canonical file name from filename
.
- public string display_basename (string filename)
Returns the display basename for the particular filename, guaranteed to be
valid UTF-8.
- public string display_name (string filename)
Converts a filename into a valid UTF-8 string.
- public string from_uri (string uri, out string hostname = null) throws ConvertError
Converts an escaped ASCII-encoded URI to a local filename in the encoding
used for filenames.
- public string from_utf8 (string utf8string, ssize_t len, out size_t bytes_read, out size_t bytes_written) throws ConvertError
Converts a string from UTF-8 to the encoding GLib uses for filenames.
- public string to_uri (string filename, string? hostname = null) throws ConvertError
Converts an absolute filename to an escaped ASCII-encoded URI, with the path
component following Section 3.3.
- public string to_utf8 (string opsysstring, ssize_t len, out size_t bytes_read, out size_t bytes_written) throws ConvertError
Converts a string which is in the encoding used by GLib for filenames into a
UTF-8 string.