B0_memo_cli.LogB0_memo_log interaction
val pp_stats : hashed_size:bool -> Op.query -> B0_memo_log.t B0_std.Fmt.tpp_stats sel formats statistics stored in the log using query to select operations that are part of the statistics. If hashed_size the sum of the size of the files in file_hashes is computed (this accesses the file system in a non-fatal way in case of errors).
val pp :
?sep:unit B0_std.Fmt.t ->
format:format ->
output_details:B0_std_cli.output_details ->
query:Op.query ->
path:B0_std.Fpath.t ->
unit ->
B0_memo_log.t B0_std.Fmt.tpp ~format ~output_details quer ~path formats a log as follows:
format specifies how the log is rendered.output_details specifies how much details should be rendered.query indicates which operations of the log must be formatted.path is used when `Path is requested (XXX what does that mean ?)sep is formatted at the end iff something is formated. Defaults to B0_std.Fmt.cut.val format_cli : ?docs:string -> unit -> format Cmdliner.Term.tout_format_cli ~docs () are mutually exclusive options to specify alternate output formats. docs is the manual section in which options are documented, defaults to s_output_format_options
s_output_format_options is "OUTPUT FORMAT OPTIONS".
val file :
?opts:string list ->
?docs:string ->
?doc:string ->
?doc_absent:string ->
?env:Cmdliner.Cmd.Env.info ->
unit ->
B0_std.Fpath.t option Cmdliner.Term.tfile ~doc_none ~docs ~doc ~env is a cli interface for specifing a memo log file.
opts are the cli options to specify it, defaults to ["log-file"].docs is where the option is documented, defaults to Cmdliner.Manpage.s_common_optionsdoc is a doc string.doc_absent describes how the value is determined if the term is evaluates to None.env is a variable that can be used to override the default value, defaults to cache_dir_env.