Changeset 42 in code for trunk/cli/pull.ml
- Timestamp:
- Dec 15, 2022, 9:25:18 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cli/pull.ml
r31 r42 76 76 output_string file txt; close_out file 77 77 78 let per_text url dir filter print i id time title authors topics = match id with78 let per_text url dir filter print i id time title authors topics _refs _reps = match id with 79 79 | "" -> Printf.eprintf "\nInvalid id for %s\n" title 80 80 | id -> let open Logarion in … … 128 128 let pull got_one peer_url = if got_one then got_one else 129 129 (pull_index peer_url auths topics) in 130 let open Logarion in 130 131 let fold_locations init peer = 131 ignore @@ List.fold_left pull init peer. Logarion.Peers.locations;132 ignore @@ List.fold_left pull init peer.Peers.pack.Header_pack.info.locations; 132 133 false 133 134 in 134 ignore @@ Logarion.Peers.fold fold_locations false;135 ignore @@ Peers.fold fold_locations false; 135 136 Curl.global_cleanup () 136 137
Note:
See TracChangeset
for help on using the changeset viewer.