24 references to RemoveIfExists
aspire (6)
Bundles\BundleService.cs (1)
571
ReparsePoint.
RemoveIfExists
(linkPath);
Utils\ReparsePoint.cs (5)
57
RemoveIfExists
(tempLinkPath);
77
RemoveIfExists
(linkPath);
96
RemoveIfExists
(tempLinkPath);
267
RemoveIfExists
(linkPath);
271
RemoveIfExists
(linkPath);
Aspire.Cli.Tests (18)
BundleServiceIntegrationTests.cs (1)
595
ReparsePoint.
RemoveIfExists
(linkPath);
Git\GitWorktreeTests.cs (3)
111
ReparsePoint.
RemoveIfExists
(aliasRoot);
173
ReparsePoint.
RemoveIfExists
(aliasDirectory);
273
ReparsePoint.
RemoveIfExists
(aliasRoot);
Layout\LayoutDiscoveryReparsePointTests.cs (1)
127
ReparsePoint.
RemoveIfExists
(bundleLink);
Utils\ReparsePointTests.cs (13)
33
ReparsePoint.
RemoveIfExists
(link);
65
ReparsePoint.
RemoveIfExists
(link);
124
ReparsePoint.
RemoveIfExists
(link);
138
ReparsePoint.
RemoveIfExists
(dir);
147
ReparsePoint.
RemoveIfExists
(Path.Combine(workspace.WorkspaceRoot.FullName, "missing"));
187
ReparsePoint.
RemoveIfExists
(link);
229
ReparsePoint.
RemoveIfExists
(link);
268
ReparsePoint.
RemoveIfExists
(link);
290
ReparsePoint.
RemoveIfExists
(link);
325
ReparsePoint.
RemoveIfExists
(link);
389
ReparsePoint.
RemoveIfExists
(link);
423
ReparsePoint.
RemoveIfExists
(probe);
461
ReparsePoint.
RemoveIfExists
(link);