package tar-unix
Decode and encode tar format files from Unix
Install
Dune Dependency
Authors
Maintainers
Sources
tar-2.6.0.tbz
sha256=caff0cb7046343e2bff7fc0f9217e4e31235555e4c4889fb194792985b6fb1ee
sha512=61cedd25de48cfa8092b4e03e275139ff27aa36f3e24f936bc90e2974e3c52b2460db214b3f8480c6d45bbc59bf2232623dd840b4ce445077393a71e0d005903
doc/tar-unix/Tar_unix/index.html
Module Tar_unix
Source
Unix I/O for tar-formatted data.
really_read fd buf
fills buf
with data from fd
or raises Stdlib.End_of_file
.
really_write fd buf
writes the full contents of buf
to fd
or Stdlib.End_of_file
.
Returns the next header block or throws End_of_stream if two consecutive zero-filled blocks are discovered. Assumes stream is positioned at the possible start of a header block.
Return the header needed for a particular file on disk.
Source
val write_block :
?level:Tar.Header.compatibility ->
Tar.Header.t ->
(Unix.file_descr -> unit) ->
Unix.file_descr ->
unit
Write hdr
, then call write_body fd
to write the body, then zero-pads so the stream is positioned for the next block.
Write a stream terminator to fd
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>