summaryrefslogtreecommitdiffstats
path: root/guestfs-actions.pod
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2009-05-01 11:00:46 +0100
committerRichard W.M. Jones <rjones@redhat.com>2009-05-01 11:00:46 +0100
commitac286b26df1aabceca26dac66c325a3676ace4cc (patch)
treee35289262967573c2ceb56ce67f66d7e678dba41 /guestfs-actions.pod
parent3cb794463a62239e36d730bc5d2d3eb4c7a66096 (diff)
downloadlibguestfs-ac286b26df1aabceca26dac66c325a3676ace4cc.tar.gz
libguestfs-ac286b26df1aabceca26dac66c325a3676ace4cc.tar.xz
libguestfs-ac286b26df1aabceca26dac66c325a3676ace4cc.zip
Generated code for cp, cp-a and mv commands.
Diffstat (limited to 'guestfs-actions.pod')
-rw-r--r--guestfs-actions.pod33
1 files changed, 33 insertions, 0 deletions
diff --git a/guestfs-actions.pod b/guestfs-actions.pod
index a05436ca..1cd4701e 100644
--- a/guestfs-actions.pod
+++ b/guestfs-actions.pod
@@ -522,6 +522,28 @@ C<value> can be NULL.
This function returns 0 on success or -1 on error.
+=head2 guestfs_cp
+
+ int guestfs_cp (guestfs_h *handle,
+ const char *src,
+ const char *dest);
+
+This copies a file from C<src> to C<dest> where C<dest> is
+either a destination filename or destination directory.
+
+This function returns 0 on success or -1 on error.
+
+=head2 guestfs_cp_a
+
+ int guestfs_cp_a (guestfs_h *handle,
+ const char *src,
+ const char *dest);
+
+This copies a file or directory from C<src> to C<dest>
+recursively using the C<cp -a> command.
+
+This function returns 0 on success or -1 on error.
+
=head2 guestfs_debug
char *guestfs_debug (guestfs_h *handle,
@@ -1039,6 +1061,17 @@ This function returns a NULL-terminated array of strings
(like L<environ(3)>), or NULL if there was an error.
I<The caller must free the strings and the array after use>.
+=head2 guestfs_mv
+
+ int guestfs_mv (guestfs_h *handle,
+ const char *src,
+ const char *dest);
+
+This moves a file from C<src> to C<dest> where C<dest> is
+either a destination filename or destination directory.
+
+This function returns 0 on success or -1 on error.
+
=head2 guestfs_pvcreate
int guestfs_pvcreate (guestfs_h *handle,