• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

2 library(archive): Access several archive formats
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • SWI-Prolog binding to libarchive
        • library(archive): Access several archive formats
          • archive_open/3
          • archive_open/4
          • archive_close/1
          • archive_property/2
          • archive_next_header/2
          • archive_open_entry/2
          • archive_set_header_property/2
          • archive_header_property/2
          • archive_extract/3
          • archive_entries/2
          • archive_data_stream/3
          • archive_create/3
          • archive_foldl/4
Availability::- use_module(library(archive)).(can be autoloaded)
Sourcearchive_foldl(:Goal, +Archive, +State0, -State)
Operates like foldl/4 but for the entries in the archive. For each member of the archive, Goal called as‘call(:Goal, +Path, +Handle, +S0, -S1). Here, S0 is current state of the accumulator (starting with State0) and S1 is the next state of the accumulator, producing State after the last member of the archive.
Archive File name or stream to be given to archive_open/[3,4].
See also
archive_header_property/2, archive_open/4.
ClioPatria (version V3.1.1-51-ga0b30a5)