package bos
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Basic OS interaction for OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
bos-0.1.4.tbz
sha256=f8e8c24730dd6c54fafb9741cd09a7075f77a9f5c386497cab8693a93d35c6d3
md5=d5a4cef854a8dc07ccc2a4cc8d0a26eb
doc/bos.setup/Bos_setup/OS/index.html
Module Bos_setup.OS
include module type of struct include Bos.OS end
Results
The functions of this module never raise Sys_error or Unix.Unix_error instead they turn these errors into error messages. If you need fine grained control over unix errors use the lower level functions in Bos.OS.U.
type ('a, 'e) result = ('a, [> Rresult.R.msg ] as 'e) Result.resultThe type for OS results.
Environment variables and program arguments
module Env = Bos.OS.EnvEnvironment variables.
module Arg = Bos.OS.ArgQuick and dirty program arguments parsing.
File system operations
Note. When paths are relative they are expressed relative to the current working directory.
module Path = Bos.OS.PathPath operations.
module File = Bos.OS.FileFile operations.
module Dir = Bos.OS.DirDirectory operations.
Commands
module Cmd = Bos.OS.CmdCommand existence and run.
Low level Unix access
module U = Bos.OS.ULow level Unix access.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>