Changeset 42 in code for trunk/cli/pull.ml


Ignore:
Timestamp:
Dec 15, 2022, 9:25:18 PM (2 years ago)
Author:
fox
Message:

Preliminary support for cross-domain references

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cli/pull.ml

    r31 r42  
    7676                        output_string file txt; close_out file
    7777
    78 let per_text url dir filter print i id time title authors topics = match id with
     78let per_text url dir filter print i id time title authors topics _refs _reps = match id with
    7979        | "" -> Printf.eprintf "\nInvalid id for %s\n" title
    8080        | id -> let open Logarion in
     
    128128        let pull got_one peer_url = if got_one then got_one else
    129129                (pull_index peer_url auths topics) in
     130        let open Logarion in
    130131        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;
    132133                false
    133134        in
    134         ignore @@ Logarion.Peers.fold fold_locations false;
     135        ignore @@ Peers.fold fold_locations false;
    135136        Curl.global_cleanup ()
    136137
Note: See TracChangeset for help on using the changeset viewer.