GFile handle. This operation does not duplicate
the actual file or directory represented by the
g_file_copy() if attempting to copy a file.
g_file_dup() is useful when a second handle is needed to the same underlying
file, for use in a separate thread (
GFile is not thread-safe). For use
within the same thread, use
g_object_ref() to increment the existing object’s
This call does no blocking I/O.
|The caller of the method takes ownership of the data, and is responsible for freeing it.|