[ Version ( since = "1.3.14" ) ]
public bool write (string path, uint8[] content) throws Error
create a new file
This call creates a file called path. The content of the file is the string content (which can contain any 8
bit data).
See also write_append.
| this |
A GuestfsSession object |
| content |
an array of binary data |
| content_size |
The size of content, in bytes |
|
true on success, false on error |