Skip to main content

Application Development Kit (Version 4.8)


ArchiveWriter Class Reference

Last updated: 05-Mar-2025

Data Structures

class   ModifiedArchiveLister

Static Public Member Functions

def  write_file (archive, path, fix=True, force_resign=True)
  Write archive to file by recursively walking through the in-memory node tree. More...
def  write_fileobj (archive, fileobj, fix=True, force_resign=True)
  Write archive to file object by recursively walking through the in-memory node tree. More...
def  write_pickled_file (archive, path, gz=False)
  Write pickled file. More...

Member Function Documentation

◆ write_file()

def write_file (   archive,
  path,
  fix = True,
  force_resign = True 
)
static

Write archive to file by recursively walking through the in-memory node tree.

Parameters
archive archive node
path path to the file to write to
fix fix archive before writing
force_resign True will for resigning even if a signature file is already present

◆ write_fileobj()

def write_fileobj (   archive,
  fileobj,
  fix = True,
  force_resign = True 
)
static

Write archive to file object by recursively walking through the in-memory node tree.

Parameters
archive archive node
fileobj file object to write to
fix fix archive before writing
force_resign True will for resigning even if a signature file is already present

◆ write_pickled_file()

def write_pickled_file (   archive,
  path,
  gz = False 
)
static

Write pickled file.

Parameters
o object to pickle
path path to the pickled file
gz wether pickled file is gzipped

The documentation for this class was generated from the following file:
  • packman/packmanlib/io.py

Need help?

Do you have a question? If you didn’t find the answer you are looking for in our documentation, you can contact our Support teams for more information. If you have a technical issue or question, please contact us. We are happy to help.

Not yet a Verifone customer?

We’ll help you choose the right payment solution for your business, wherever you want to sell, in-person or online. Our team of experts will happily discuss your needs.

Verifone logo