Module Adhoc

The ad hoc module.

module Tui : sig ... end

Ad hoc TUI spinners.

val print_paths : B0_std.Fpath.t list -> unit
val pp_dry_run : B0_std.Cmd.t B0_std.Fmt.t

Similar to Cmd.pp_shell but different.

val with_tmp_file : ext:(string, unit, string, string, string, string) Stdlib.format6 -> (B0_std.Fpath.t -> ('a, string) Stdlib.result) -> ('a, string) Stdlib.result
val tool_version : B0_std.Cmd.t -> (string option, string) Stdlib.result
val now_rfc3339 : unit -> string

Ad hoc munging logic

val scrape_arch_of_filepath : B0_std.Fpath.t -> B0_std.Os.Arch.t option

scrape_arch_of_filepath file tries to determine an architecture from file by starting from the end of the path.

val get_arch_of_file : arch:B0_std.Os.Arch.t option -> B0_std.Fpath.t -> B0_std.Os.Arch.t

get_arch_of_file ~arch f is a if arch is Some a otherwise tries scrape_arch_of_filepath and it that is None falls back to Os.arch (a warning is emitted).