package diffast-core
Module Diffast_core.Dirtree_base
module Xprint = Diffast_misc.Xprintmodule Xstring = Diffast_misc.Xstringmodule Xset = Diffast_misc.Xsetmodule Xlist = Diffast_misc.Xlistmodule Xhash = Diffast_misc.Xhashmodule Xchannel = Diffast_misc.Xchannelmodule Storage = Diffast_misc.Storagemodule Fs = Diffast_misc.Fsmodule T = Triplemodule UID = Diffast_misc.UIDmodule Otree = Diffast_misc.Otreemodule S = Statmodule SF = Stat.Filemodule SD = Stat.Dirval sprintf : ('a, unit, string) format -> 'aval printf : ('a, out_channel, unit) format -> 'aval fprintf : out_channel -> ('a, out_channel, unit) format -> 'aclass node_data : Storage.tree -> Storage.entry_t -> object ... endtype node_t = node_data Otree.node2class c : < hash_algo : Diffast_misc.Xhash.algo.. > -> node_t -> ?id:string option ->
bool -> object ... endval _tbl_add : ('a, 'b list) Hashtbl.t -> 'a -> 'b -> unitval collapse_tree :
< collapse_node :
(< data : < digest : 'b.. > ; is_leaf : bool.. > as 'a) ->
'c
; init : 'd
; root : 'a
; scan_all : ('a -> unit) -> 'e
; set_digest_of_root : unit.. > ->
('b, 'a list) Hashtbl.tval of_tree :
< check_extension : string -> bool
; designated_parser : string
; hash_algo : Diffast_misc.Xhash.algo
; is_disabled_parser : string -> bool
; uid_generator : Diffast_misc.UID.generator
; verbose_flag : bool.. > ->
bool ->
Storage.tree ->
c * (Diffast_misc.Xhash.t, node_data Otree.node2 list) Hashtbl.tval of_dir :
< check_extension : string -> bool
; designated_parser : string
; git_hash_flag : bool
; hash_algo : Diffast_misc.Xhash.algo
; is_disabled_parser : string -> bool
; keep_filtered_temp_file_flag : bool
; uid_generator : Diffast_misc.UID.generator
; verbose_flag : bool.. > ->
bool ->
string ->
c * (Diffast_misc.Xhash.t, node_data Otree.node2 list) Hashtbl.tval split : ('a -> 'b) -> 'a list -> ('b, 'a list) Hashtbl.tval get_cache_path_for_dir1 :
< check_extension : string -> bool
; designated_parser : string
; get_cache_path_for_dir_digest1 : Diffast_misc.Xhash.t -> string
; hash_algo : Diffast_misc.Xhash.algo
; is_disabled_parser : string -> bool
; uid_generator : Diffast_misc.UID.generator
; verbose_flag : bool.. > ->
Storage.tree ->
stringval get_cache_path_for_dir2 :
< check_extension : string -> bool
; designated_parser : string
; get_cache_path_for_dir_digest2 :
Diffast_misc.Xhash.t ->
Diffast_misc.Xhash.t ->
string
; hash_algo : Diffast_misc.Xhash.algo
; is_disabled_parser : string -> bool
; uid_generator : Diffast_misc.UID.generator
; verbose_flag : bool.. > ->
Storage.tree ->
Storage.tree ->
stringval mkfile :
Storage.tree ->
< data : < content_digest : Diffast_misc.Xhash.t option ; path : string.. >.. > ->
Storage.fileval mkfiles :
Storage.tree ->
< data : < content_digest : Diffast_misc.Xhash.t option ; path : string.. >.. >
list ->
Storage.file listval fid_of_nd :
?force_PVF:??? ->
< fact_algo : T.Xhash.algo
; fact_enc : Entity.encoding
; fact_proj : string.. > ->
'a ->
(Entity.vkind * string) ->
< data : < get_content_digest : T.Xhash.t ; path : string.. >.. > ->
stringval fent_of_nd :
< fact_algo : T.Xhash.algo
; fact_enc : Entity.encoding
; fact_proj : string.. > ->
?force_PVF:??? ->
'a ->
(Entity.vkind * string) ->
< data : < get_content_digest : T.Xhash.t ; path : string.. >.. > ->
T.nodeval create_fact_buf :
< fact_compression : Diffast_core.Triple.C.c
; fact_into_directory : string
; fact_into_virtuoso : string
; fact_size_threshold : int
; fact_virtuoso_temp_dir : string
; local_cache_name : string
; verbose_flag : bool.. > ->
?acquire_lock:??? ->
?fact_file_path:??? ->
?cache_name:??? ->
into_virtuoso:bool ->
into_directory:bool ->
string ->
Triple.buffer_virtuosoval _extract_fact :
< add : (T.node * T.node * T.node) -> unit
; add_group : (T.node * T.node * T.node) list -> unit.. > ->
< fact_algo : T.Xhash.algo
; fact_enc : Entity.encoding
; fact_proj : string.. > ->
'a ->
(Entity.vkind * string) ->
< data :
< get_content_digest : T.Xhash.t
; is_auxfile : bool
; path : string.. >.. >
list ->
string * T.nodeval extract_fact :
< check_extension : string -> bool
; clear_cache_flag : bool
; default_dir_permission : Unix.file_perm
; designated_parser : string
; fact_algo : T.Xhash.algo
; fact_compression : Diffast_core.Triple.C.c
; fact_enc : Entity.encoding
; fact_flag : bool
; fact_into_directory : string
; fact_into_virtuoso : string
; fact_proj : string
; fact_size_threshold : int
; fact_virtuoso_temp_dir : string
; get_cache_path_for_dir_digest1 : Diffast_misc.Xhash.t -> string
; hash_algo : Diffast_misc.Xhash.algo
; is_disabled_parser : string -> bool
; local_cache_name : string
; uid_generator : Diffast_misc.UID.generator
; verbose_flag : bool.. > ->
dtree_opt:c option ->
proj_root:'a ->
version:(Entity.vkind * string) ->
Storage.tree ->
string * c * Storage.file list