From 77128581eeac53dbd1fefc4d30dd109a84186698 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=2E=C3=87a=C4=9Flar=20Onur?= Date: Tue, 9 Aug 2005 13:53:41 +0000 Subject: [PATCH] =?UTF-8?q?e2fsprogs=20i=C3=A7in=20ek=203=20fonk.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pisi/actionsapi/shelltools.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pisi/actionsapi/shelltools.py b/pisi/actionsapi/shelltools.py index 9424ad4e..233ae9e3 100644 --- a/pisi/actionsapi/shelltools.py +++ b/pisi/actionsapi/shelltools.py @@ -100,3 +100,14 @@ def exists_binary(bin): if exists( join(directory, bin) ): return True return False + +def isLink(sourceFile): + return os.path.islink(sourceFile) + +def realPath(sourceFile): + return os.path.realpath(sourceFile) + +def baseName(sourceFile): + return os.path.basename(sourceFile) + +