package dune-release
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Safe OS operations.
All the commands in that module can have side-effects. They also all take a --dry-run
paramater which cause the side-effect to be discarded and to display a message instead. Some of these commands also have a `--force
` option: this causes the message to be printed AND the side-effects to be caused.
type error = Bos_setup.R.msg
Same as run but redirects err and out to null
val run_io :
dry_run:bool ->
?force:bool ->
?sandbox:bool ->
default:'a ->
Bos.Cmd.t ->
Bos.OS.Cmd.run_in ->
(Bos.OS.Cmd.run_out -> ('a, 'b) result) ->
('a, 'b) result
val run_out :
dry_run:bool ->
?force:bool ->
?sandbox:bool ->
?err:Bos.OS.Cmd.run_err ->
default:'a ->
Bos.Cmd.t ->
(Bos.OS.Cmd.run_out -> ('a, 'b) result) ->
('a, 'b) result
val run_status :
dry_run:bool ->
?force:bool ->
?sandbox:bool ->
Bos.Cmd.t ->
(Bos.OS.Cmd.status, error) result
val out : 'a -> 'a * Bos.OS.Cmd.run_status
val cp :
dry_run:bool ->
rec_:bool ->
force:bool ->
src:Fpath.t ->
dst:Fpath.t ->
(unit, error) result
cp ~dry_run ~rec ~force ~src ~dst
copies src
to dst
. If rec
is true, copies directories recursively. If force
is true, overwrite existing files. The usual force
arguments from other functions in this module is renamed force_side_effects
here.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>