X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/blobdiff_plain/c17d0537db6e55a6b2bbd1a459542a5fbb44a68f..cd04086681583dd3fcc95b6e12ba312054dc590e:/src/slave.sig diff --git a/src/slave.sig b/src/slave.sig index 9ca0638..7471d86 100644 --- a/src/slave.sig +++ b/src/slave.sig @@ -22,9 +22,11 @@ signature SLAVE = sig datatype file_action = Add - | Delete + | Delete of bool (* Set to true to really delete the file *) | Modify + val isDelete : file_action -> bool + type file_status = {action : file_action, domain : string, dir : string, @@ -43,6 +45,7 @@ signature SLAVE = sig val shell : string list -> bool val shellF : string list * (string -> string) -> unit + val shellOutput : string list -> string option val concatTo : (string -> bool) -> string -> unit (* Search through the result configuration hierarchy for all files matching