forked from bcpierce00/unison
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcopy.mli
48 lines (43 loc) · 2.04 KB
/
copy.mli
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
(* Transfer a file from one replica to the other *)
val file :
Common.root (* root of source *)
-> Path.local (* path of source *)
-> Common.root (* root of target *)
-> Fspath.t (* fspath of target *)
-> Path.local (* path of target (temp location) *)
-> Path.local (* path of "real" (original) target *)
-> [`Update of (Uutil.Filesize.t * Uutil.Filesize.t) | `Copy]
-> Props.t (* permissions for new file *)
-> Os.fullfingerprint (* fingerprint of file *)
-> Fileinfo.stamp option (* source file stamp, if available *)
-> Osx.ressStamp (* resource info of file *)
-> Uutil.File.t (* file's index in UI (for progress bars) *)
-> Fileinfo.basic Lwt.t (* information regarding the transferred file *)
val localFile :
Fspath.t (* fspath of source *)
-> Path.local (* path of source *)
-> Fspath.t (* fspath of target *)
-> Path.local (* path of target *)
-> Path.local (* path of "real" [original] target *)
-> [`Update of (Uutil.Filesize.t * Uutil.Filesize.t) | `Copy]
-> Props.t (* permissions for new file *)
-> Uutil.Filesize.t (* fork length *)
-> Uutil.File.t option (* file's index in UI (for progress bars), if appropriate *)
-> unit
val recursively :
Fspath.t (* fspath of source *)
-> Path.local (* path of source *)
-> Fspath.t (* fspath of target *)
-> Path.local (* path of target *)
-> unit
val readPropsExtData :
Common.root (* root of source *)
-> Path.local (* path of source *)
-> Props.t (* props of source *)
-> Props.x Lwt.t (* props with all ext data included *)
val readPropsExtDataG :
Common.root (* root of source *)
-> Path.t (* path of source *)
-> Props.t (* props of source *)
-> (Path.local option * Props.x) Lwt.t (* props with all ext data included
and path translated to local path *)