Skip to content

Commit

Permalink
Added documentation for new isSlimRestore param
Browse files Browse the repository at this point in the history
  • Loading branch information
igor84 committed Feb 1, 2025
1 parent f7161b9 commit 28cb364
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/NuGetForUnity/Editor/NugetPackageUninstaller.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public static class NugetPackageUninstaller
/// <param name="package">The NugetPackage to uninstall.</param>
/// <param name="uninstallReason">The reason uninstall is being called.</param>
/// <param name="refreshAssets">True to force Unity to refresh its Assets folder. False to temporarily ignore the change. Defaults to true.</param>
/// <param name="isSlimRestore">True if uninstall needs to be done as part of slim restore operation.</param>
public static void Uninstall([NotNull] INugetPackageIdentifier package, PackageUninstallReason uninstallReason, bool refreshAssets = true, bool isSlimRestore = false)
{
// Checking for pre-imported packages also ensures that the pre-imported package list is up-to-date before we uninstall packages.
Expand Down
1 change: 1 addition & 0 deletions src/NuGetForUnity/Editor/NugetPackageUpdater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ public static void UpdateAll(
/// <param name="currentVersion">The current package to uninstall.</param>
/// <param name="newVersion">The package to install.</param>
/// <param name="refreshAssets">True to refresh the assets inside Unity. False to ignore them (for now). Defaults to true.</param>
/// <param name="isSlimRestoreInstall">True if update needs to be done as part of slim restore operation.</param>
/// <param name="uninstallReason">The reason uninstall is being called.</param>
/// <returns>The information about how the package has been installed.</returns>
internal static PackageInstallOperationResult UpdateWithInformation(
Expand Down

0 comments on commit 28cb364

Please sign in to comment.