package irmin-pack
val misc_error_t : misc_error Irmin.Type.t
type mkdir_error = [
| `File_exists of string
| `Invalid_parent_directory
| `Io_misc of misc_error
| `No_such_file_or_directory
]
val create :
path:string ->
overwrite:bool ->
(t, [> create_error ]) Stdlib.result
val open_ : path:string -> readonly:bool -> (t, [> open_error ]) Stdlib.result
val close : t -> (unit, [> close_error ]) Stdlib.result
val write_string :
t ->
off:Optint.Int63.t ->
string ->
(unit, [> write_error ]) Stdlib.result
val fsync : t -> (unit, [> write_error ]) Stdlib.result
val mkdir : string -> (unit, [> mkdir_error ]) Stdlib.result
val read_to_string :
t ->
off:Optint.Int63.t ->
len:int ->
(string, [> read_error ]) Stdlib.result
val read_all_to_string :
t ->
(string, [> `Closed | `Io_misc of misc_error ]) Stdlib.result
val read_size : t -> (Optint.Int63.t, [> read_error ]) Stdlib.result
val size_of_path :
string ->
(Optint.Int63.t,
[> `Io_misc of misc_error | `No_such_file_or_directory | `Not_a_file ])
Stdlib.result
val readonly : t -> bool
val path : t -> string
val read_exn : t -> off:Optint.Int63.t -> len:int -> bytes -> unit
val write_exn : t -> off:Optint.Int63.t -> len:int -> string -> unit
val raise_misc_error : misc_error -> 'a
val catch_misc_error :
(unit -> 'a) ->
('a, [> `Io_misc of misc_error ]) Stdlib.result
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>