Corresponding files on the file system are immediately created. In orderd to modify the variant, manipulate the returned Zvariant object and use save_zvariant method.

copy_zvariant(x, name, dir)

# S4 method for Zvariant,character,character
copy_zvariant(x, name, dir)

Arguments

x

Zvariant object.

name

Characted string naming the copied variant.

dir

Characted string directory where the new variant is created on file system.

Value

Zvariant object

Details

If the variant being copied has results, they are not copied to the new variant.

Note

Relative paths in spp-file are translated into absolute paths as otherwise dealing with them might be tricky.

See also