Changeset 22 in code for trunk/cli/publish.ml
- Timestamp:
- Nov 2, 2022, 9:47:20 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cli/publish.ml
r21 r22 1 let targets () = 2 let kv = Logarion.File_store.of_kv_file () in 1 let targets kv = 3 2 let pub_dir = 4 3 try Logarion.Store.KV.find "Pubdir" kv with Not_found -> … … 14 13 open Logarion 15 14 let publish ids = 15 let kv = Logarion.File_store.of_kv_file () in 16 16 let predicate t = List.mem t.Text.id ids in 17 let targets = targets ()in17 let targets = targets kv in 18 18 let pub_dirs = List.map (fun x -> snd x) targets in 19 19 File_store.iter ~predicate (fun (_t, p) ->
Note:
See TracChangeset
for help on using the changeset viewer.