File.dup

Duplicates a GFile handle. This operation does not duplicate the actual file or directory represented by the GFile; see g_file_copy() if attempting to copy a file. This call does no blocking i/o.

class File
dup
()

Return Value

Type: File

a new GFile that is a duplicate of the given GFile. [transfer full]

Meta