#texinfo_show_urls = 'footnote'
def skip(app, what, name, obj, skip, options):
- #if what == "module" and type(obj).__name__ == "builtin_function_or_method":
- # return False
+ if what == "module" and type(obj).__name__ == "builtin_function_or_method":
+ return False
if name == "__init__":
return type(obj).__name__ == "wrapper_descriptor"
return skip
:inherited-members:
:private-members:
:member-order: bysource
+
+.. autofunction:: xml_dump_primary
+.. autofunction:: xml_dump_filelists
+.. autofunction:: xml_dump_other
+.. autofunction:: xml_dump
+.. autofunction:: checksum_name_str
+.. autofunction:: checksum_type
+.. autofunction:: compress_file_with_stat
+.. autofunction:: compression_suffix
+.. autofunction:: detect_compression
# Functions
-xml_dump_primary = _createrepo_c.xml_dump_primary
-xml_dump_filelists = _createrepo_c.xml_dump_filelists
-xml_dump_other = _createrepo_c.xml_dump_other
-xml_dump = _createrepo_c.xml_dump
-
def package_from_rpm(filename, checksum_type=SHA256, location_href=None,
location_base=None, changelog_limit=10):
""":class:`.Package` object from the rpm package"""
return _createrepo_c.xml_from_rpm(filename, checksum_type,
location_href, location_base, changelog_limit)
+xml_dump_primary = _createrepo_c.xml_dump_primary
+xml_dump_filelists = _createrepo_c.xml_dump_filelists
+xml_dump_other = _createrepo_c.xml_dump_other
+xml_dump = _createrepo_c.xml_dump
+
def xml_parse_primary(path, newpkgcb=None, pkgcb=None,
warningcb=None, do_files=1):
"""Parse primary.xml"""