IPWorks ZIP 2020 Python Edition

Questions / Feedback?

on_begin_file Event

Fired before a file is processed.


class Bzip2BeginFileEventParams(object):
  def index() -> int: ...
  def skip() -> bool: ...
  def skip(value) -> None: ...

# In class Bzip2:
def on_begin_file() -> Callable[[Bzip2BeginFileEventParams], None]: ...
def on_begin_file(event_hook: Callable[[Bzip2BeginFileEventParams], None]) -> None: ...


on_begin_file is fired before compression or decompression begins. Index will contain 0.

You may use the Skip parameter to tell the class to skip the file when appending or decompressing.

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks ZIP 2020 Python Edition - Version 20.0 [Build 7720]