mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-27 07:06:13 +01:00
6fdce86fc9
Since an ar archive can contain arbitary filenames (that is a filename can be an invalid utf-8 encoding (for instance, "foo\xff\xffbar")), the ar module provides a bytes only API. A user can decode filenames as she wishes. Note: if a "fn" parameter is passed to Ar.__init__ it should be a bytes (a str is also ok, but then be aware that an ArError's file attribute might be a str or a bytes). |
||
---|---|---|
.. | ||
__init__.py | ||
ar.py | ||
archquery.py | ||
cpio.py | ||
debquery.py | ||
packagequery.py | ||
repodata.py | ||
rpmquery.py | ||
safewriter.py |