package b0
Software construction and deployment kit
Install
Dune Dependency
Authors
Maintainers
Sources
b0-0.0.1.tbz
sha256=dba2fc571f39f3b8e87ee55c77bdec7ec6a5ddc7d99b8b20aeda848af546be04
md5=51ee1d66acc4d7f87bdceac1341b7711
doc/b0.b00/B000/Op/Write/index.html
Module Op.Write
File writes.
File writes
val v_op :
id:id ->
mark:mark ->
created:B00_std.Time.span ->
?post_exec:(op -> unit) ->
?k:(op -> unit) ->
stamp:string ->
reads:B00_std.Fpath.t list ->
mode:int ->
write:B00_std.Fpath.t ->
(unit -> (string, string) result) ->
op
write
declares a file write operations, see the corresponding accessors in Write
for the semantics of the various arguments.
val v :
stamp:string ->
mode:int ->
file:B00_std.Fpath.t ->
data:(unit -> (string, string) result) ->
t
v
constructs a bare write operation.
geo o
is the write o
. Raises Invalid_argument
if o
is not a write.
val stamp : t -> string
stamp w
is the file write stamp used for caching.
val mode : t -> int
int w
is the mode of the file written by w
.
val file : t -> B00_std.Fpath.t
file w
is the file written by w
.
data w
invokes and discards the write data function. If the write data function raises this is turned into an Error _
.
val discard_data : t -> unit
discard_data w
discards the write data function.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page