package topkg-care
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
On This Page
  
  
  The transitory OCaml software packager
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
  
    
      topkg-1.1.0.tbz
    
    
        
    
  
  
  
    
  
        sha512=34d22ae5b6bd166dd4a601a7d12d89c336684b3c56d7c7f481b40837eab263616cc3a6e6f63602f3d4a7d53c911967bf261de6c1ac205341b98a9838e5ea7aeb
    
    
  doc/topkg_care/Topkg_care/Archive/index.html
Module Topkg_care.ArchiveSource
Archive file creation.
Ustar archives
val tar : 
  Fpath.t ->
  exclude_paths:Fpath.set ->
  root:Fpath.t ->
  mtime:int ->
  (string, Bos_setup.R.msg) Bos_setup.resulttar dir ~exclude_paths ~root ~mtime is a (us)tar archive that contains the file hierarchy dir except the relative hierarchies present in exclude_paths. In the archive, members of dir are rerooted at root and sorted according to Fpath.compare. They have their modification time set to mtime and their file permissions are 0o775 for directories and files executable by the user and 0o664 for other files. No other file metadata is preserved.
Note. This is a pure OCaml implementation, no tar tool is needed.
Bzip2 compression and unarchiving
ensure_bzip2 () makes sure the bzip2 utility is available.
bzip2 s dst compresses s to dst using bzip2.
ensure_tar () makes sure the tar utility is available.
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
  On This Page