mirror of
https://github.com/Dev-Wiki/git-repo.git
synced 2025-09-27 19:22:14 +08:00
Implement islink, readlink and realpath using Win32 api
Change-Id: I18452cbb32d24db73601ad10485dbe6bb278731c
This commit is contained in:
@@ -498,7 +498,7 @@ later is required to fix a server side protocol bug.
|
||||
dirs_to_remove += [os.path.join(root, d) for d in dirs
|
||||
if os.path.join(root, d) not in dirs_to_remove]
|
||||
for d in reversed(dirs_to_remove):
|
||||
if os.path.islink(d):
|
||||
if platform_utils.islink(d):
|
||||
try:
|
||||
os.remove(d)
|
||||
except OSError:
|
||||
|
Reference in New Issue
Block a user