Part of lp.archivepublisher.utils View In Hierarchy
It allows callsites to publish index files in different medias (plain, gzip, bzip2, and xz) transparently and atomically.
Method | __init__ | Store repositories destinations and filename. |
Method | __enter__ | Undocumented |
Method | __exit__ | Undocumented |
Method | write | Write contents to all target medias. |
Method | close | Close temporary media and atomically publish them. |
The given 'temp_root' needs to exist; on the other hand, the
directory containing 'path' will be created on close
if it doesn't
exist.
Additionally creates the needed temporary files in the given 'temp_root'.