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