Learn R Programming

RGtk2 (version 2.20.30)

gFileCopyAttributes: gFileCopyAttributes

Description

Copies the file attributes from source to destination.

Usage

gFileCopyAttributes(object, destination, flags = "G_FILE_COPY_NONE", 
    cancellable = NULL, .errwarn = TRUE)

Arguments

Value

A list containing the following elements:retval[logical] TRUE if the attributes were copied successfully, FALSE otherwise.errora GError, NULL to ignore.

Details

Normally only a subset of the file attributes are copied, those that are copies in a normal file copy operation (which for instance does not include e.g. owner). However if G_FILE_COPY_ALL_METADATA is specified in flags, then all the metadata that is possible to copy is copied. This is useful when implementing move by copy + delete source.