From 46819a78a1b34f30edba209e15d9922f84f11c09 Mon Sep 17 00:00:00 2001 From: Kaiyi Li Date: Wed, 27 Mar 2024 07:21:43 -0700 Subject: Remove platform_utils.realpath ... since it's just a simple wrapper of os.path.realpath now. Change-Id: I7433e5fe09c64b130f06e2541151dce1961772c9 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/416637 Tested-by: Kaiyi Li Reviewed-by: Greg Edelston Commit-Queue: Kaiyi Li --- platform_utils.py | 9 --------- 1 file changed, 9 deletions(-) (limited to 'platform_utils.py') diff --git a/platform_utils.py b/platform_utils.py index 29060099..e20198ee 100644 --- a/platform_utils.py +++ b/platform_utils.py @@ -251,12 +251,3 @@ def readlink(path): return platform_utils_win32.readlink(_makelongpath(path)) else: return os.readlink(path) - - -def realpath(path): - """Return the canonical path of the specified filename, eliminating - any symbolic links encountered in the path. - - Availability: Windows, Unix. - """ - return os.path.realpath(path) -- cgit v1.2.3-54-g00ecf