package devkit
Development kit - general purpose library
Install
Dune Dependency
Authors
Maintainers
Sources
devkit-1.20240429.tbz
sha256=222f8ac131b1d970dab7eeb2714bfd6b9338b88b1082e6e01c136ae19e7eaef4
sha512=c9e6d93e3d21e5530c0f4d5baca51bf1f0a5d19248f8af7678d0665bb5cdf295d7aaaaa3e50eb2e44b8720e55097cc675af4dc8ec45acf9da39feb3eae1405d5
doc/devkit.core/Devkit_core/Files/index.html
Module Devkit_core.Files
Source
File system
f fd path rel
gets invoked for each file under dirname
where fd
is a read-only Unix.file_descr
, path
is full path and rel
- path relative to dirname
iter_names_q dirname (fun [path] [rel] -> ...)
iter_files dirname (fun [path] [ic] -> ...)
save_as filename ?mode f
is similar to Control.with_open_file_bin
except that writing is done to a temporary file that will be renamed to filename
after f
has succesfully terminated. Therefore this guarantee that either filename
will not be modified or will contain whatever f
was writing to it as a side-effect.
FIXME windows
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>