HCoop
/
hcoop
/
domtool2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
apache: add ipv6 support
[hcoop/domtool2.git]
/
src
/
slave.sig
diff --git
a/src/slave.sig
b/src/slave.sig
index
9ca0638
..
b6c90fa
100644
(file)
--- a/
src/slave.sig
+++ b/
src/slave.sig
@@
-22,9
+22,11
@@
signature SLAVE = sig
datatype file_action =
Add
datatype file_action =
Add
- | Delete
+ | Delete
of bool (* Set to true to really delete the file *)
| Modify
| Modify
+ val isDelete : file_action -> bool
+
type file_status = {action : file_action,
domain : string,
dir : string,
type file_status = {action : file_action,
domain : string,
dir : string,
@@
-43,6
+45,10
@@
signature SLAVE = sig
val shell : string list -> bool
val shellF : string list * (string -> string) -> unit
val shell : string list -> bool
val shellF : string list * (string -> string) -> unit
+ val shellOutput : string list -> string option
+ val run : string * string list -> bool
+ val runOutput : string * string list -> bool * string option
+ (* Like shellOutput, but return status and lines and don't use the shell *)
val concatTo : (string -> bool) -> string -> unit
(* Search through the result configuration hierarchy for all files matching
val concatTo : (string -> bool) -> string -> unit
(* Search through the result configuration hierarchy for all files matching