• Lars Gustäbel's avatar
    Issue #6856: Add a filter keyword argument to TarFile.add(). · 21121e64
    Lars Gustäbel yazdı
    The filter argument must be a function that takes a TarInfo
    object argument, changes it and returns it again. If the
    function returns None the TarInfo object will be excluded
    from the archive.
    The exclude argument is deprecated from now on, because it
    does something similar but is not as flexible.
    21121e64
tarfile.rst 25.6 KB