@@ -68,7 +68,7 @@ import { first, join } from '../../../system/iterable';
6868import { Logger } from '../../../system/logger' ;
6969import type { LogScope } from '../../../system/logger.scope' ;
7070import { getLogScope , setLogScopeExit } from '../../../system/logger.scope' ;
71- import { commonBaseIndex , dirname , isAbsolute , maybeUri , normalizePath , pathEquals } from '../../../system/path' ;
71+ import { arePathsEqual , commonBaseIndex , dirname , isAbsolute , maybeUri , normalizePath } from '../../../system/path' ;
7272import { any , asSettled , getSettledValue } from '../../../system/promise' ;
7373import { equalsIgnoreCase , getDurationMilliseconds } from '../../../system/string' ;
7474import { compare , fromString } from '../../../system/version' ;
@@ -1221,7 +1221,7 @@ export class LocalGitProvider implements GitProvider, Disposable {
12211221 if ( networkPath != null ) {
12221222 // If the repository is at the root of the mapped drive then we
12231223 // have to append `\` (ex: D:\) otherwise the path is not valid.
1224- const isDriveRoot = pathEquals ( repoUri . fsPath , networkPath ) ;
1224+ const isDriveRoot = arePathsEqual ( repoUri . fsPath , networkPath ) ;
12251225
12261226 repoPath = normalizePath (
12271227 repoUri . fsPath . replace (
@@ -1250,7 +1250,7 @@ export class LocalGitProvider implements GitProvider, Disposable {
12501250 return ;
12511251 }
12521252
1253- if ( pathEquals ( uri . fsPath , resolvedPath ) ) {
1253+ if ( arePathsEqual ( uri . fsPath , resolvedPath ) ) {
12541254 Logger . debug ( scope , `No symlink detected; repoPath=${ repoPath } ` ) ;
12551255 resolve ( [ repoPath ! , undefined ] ) ;
12561256 return ;
0 commit comments