copy_zvariant-methods: Copy existing variant as a new 'Zvariant' object.

Description Usage Arguments Details Value Note Author(s) See Also

Description

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.

Usage

1
2
3
4
copy_zvariant(x, name, dir)

## S4 method for signature '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.

Details

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

Value

Zvariant object

Note

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

Author(s)

Joona Lehtomaki joona.lehtomaki@gmail.com

See Also

Zvariant-class save_zvariant


cbig/zonator documentation built on May 23, 2020, 7:02 a.m.