Displaying 2 results from an estimated 2 matches for "a98daad03".
2017 Mar 23
0
[PATCH v5 08/10] mllib: add do_mv helper function to Common_utils
...) src destdir
+
+let do_mv src dest =
+ let cmd = [ "mv"; src; dest ] in
+ let r = run_command cmd in
+ if r <> 0 then
+ error (f_"moving file '%s' to '%s' failed") src dest
diff --git a/mllib/common_utils.mli b/mllib/common_utils.mli
index 5c376fcb3..a98daad03 100644
--- a/mllib/common_utils.mli
+++ b/mllib/common_utils.mli
@@ -495,3 +495,6 @@ val inspect_decrypt : Guestfs.guestfs -> unit
val do_cp : string -> string -> unit
(** Run the cp command, and exit with an error if it failed *)
+
+val do_mv : string -> string -> unit
+(** Run...
2017 Mar 23
13
[PATCH v5 00/10] Introducing virt-builder-repository
Hi all,
Here is the v5 of my patches series applying the latest comments
from Pino.
Cédric Bosdonnat (10):
lib/osinfo.c: Extract xml processing into a callback
lib: extract osinfo DB traversing API
mllib: ocaml wrapper for lib/osinfo
builder: rename docs test script
builder: add a template parameter to get_index
builder: add Index.write_entry function
dib: move do_cp to