package b0

  1. Overview
  2. Docs
Software construction and deployment kit

Install

dune-project
 Dependency

Authors

Maintainers

Sources

b0-0.0.6.tbz
sha512=e9aa779e66c08fc763019f16d4706f465d16c05d6400b58fbd0313317ef33ddea51952e2b058db28e65f7ddb7012f328c8bf02d8f1da17bb543348541a2587f0

doc/b0.kit/B0_action_kit/index.html

Module B0_action_kitSource

Tools for actions and unit executions.

Quick URL fetching

See also B0_http.

Sourceval fetch_url : ?env:B0_std.Os.Env.assignments -> ?stderr:B0_std.Os.Cmd.stdo -> ?args:B0_std.Cmd.t -> ?progress:bool -> B0_env.t -> B0_url.t -> B0_std.Fpath.t -> (unit, string) result

fetch_url env' url file fetches url (redirections are followed) using curl looked up in env' and writes it to file. progress indicates whether progress should be reported on stderr (defaults to true), args are arguments added to the invocation, env and stderr are given to the corresponding B0_std.Os.Cmd.run.