HCoop
/
jyaworski
/
domtool2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Working on automatic rmdom for bad domains during regen
[jyaworski/domtool2.git]
/
src
/
slave.sig
diff --git
a/src/slave.sig
b/src/slave.sig
index
c1706bf
..
c413a07
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,
@@
-70,4
+72,9
@@
signature SLAVE = sig
val mkDirAll : string -> unit
(* [mkDirAll p] creates directory "p", creating all parent directories, as
* necessary. *)
val mkDirAll : string -> unit
(* [mkDirAll p] creates directory "p", creating all parent directories, as
* necessary. *)
+
+ val remove : ''a list * ''a -> ''a list
+ val removeDups : ''a list -> ''a list
+
+ val moveDirCreate : { from : string, to : string } -> unit
end
end