rpc_write


Description:

public async bool rpc_write (string content = "", string base_type = "f", string target = "", uint unix_mode = 0) throws Error

Write on daemon (File.rpc_write).

base_type: f file (default), d directory, fa symlink. Directories and symlinks use empty content; symlinks set target. Optional unix_mode applies rwx after the op.

Returns:

false when path is empty

Exceptions:

GLib.Error

if the RPC fails