e2fsprogs için ek 3 fonk.

This commit is contained in:
S.Çağlar Onur
2005-08-09 13:53:41 +00:00
parent 5c1cfe9896
commit 77128581ee
+11
View File
@@ -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)