Skip to content

Commit

Permalink
[WIP] Move to eio paths
Browse files Browse the repository at this point in the history
  • Loading branch information
clecat committed Mar 6, 2024
1 parent de4781b commit 2045385
Show file tree
Hide file tree
Showing 105 changed files with 1,928 additions and 1,676 deletions.
4 changes: 2 additions & 2 deletions src/irmin-chunk/irmin_chunk.ml
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ struct
aux l
end

let v ~sw config =
let v ~sw ~fs config =
let chunk_size = Conf.get config Conf.Key.chunk_size in
let max_data = chunk_size - Chunk.size_of_data_header in
let max_children =
Expand All @@ -197,7 +197,7 @@ struct
[%log.debug
"config: chunk-size=%d digest-size=%d max-data=%d max-children=%d"
chunk_size H.hash_size max_data max_children];
let db = CA.v ~sw config in
let db = CA.v ~sw ~fs config in
{ chunking; db; chunk_size; max_children; max_data }

let close _ = ()
Expand Down
Loading

0 comments on commit 2045385

Please sign in to comment.