From c7f1f0d2a3852ac6cc3b50f4f5990acd9abc85f8 Mon Sep 17 00:00:00 2001 From: Faik Uygur Date: Mon, 12 Mar 2007 11:24:50 +0000 Subject: [PATCH] create_delta_package to api --- pisi/api.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pisi/api.py b/pisi/api.py index df4dcee4..7116833b 100644 --- a/pisi/api.py +++ b/pisi/api.py @@ -49,6 +49,7 @@ from pisi.files import Files from pisi.file import File import pisi.db.lockeddbshelve as shelve from pisi.version import Version +import delta class Error(pisi.Error): pass @@ -580,3 +581,11 @@ def get_installed_package(name): ### Component Database Operations ### ### Files Database Operations ### + +### Delta Package Operations ### + +## Creates a delta package from the given .pisi package paths. +# @param old_package Path of the older package +# @param new_package Path of the newer package +def create_delta_package(old_package, new_package): + delta.create_delta_package(old_package, new_package)