aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart-registry/src/installer_executor/filesystem.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/mozart-registry/src/installer_executor/filesystem.rs')
-rw-r--r--crates/mozart-registry/src/installer_executor/filesystem.rs9
1 files changed, 5 insertions, 4 deletions
diff --git a/crates/mozart-registry/src/installer_executor/filesystem.rs b/crates/mozart-registry/src/installer_executor/filesystem.rs
index cceb5da..cb1a2cc 100644
--- a/crates/mozart-registry/src/installer_executor/filesystem.rs
+++ b/crates/mozart-registry/src/installer_executor/filesystem.rs
@@ -29,10 +29,11 @@ impl InstallerExecutor for FilesystemExecutor {
op: PackageOperation<'_>,
ctx: &ExecuteContext,
) -> anyhow::Result<()> {
- // Marking an alias as installed has no filesystem side effects —
- // the target package's files are already in vendor/. Mirrors
- // Composer's `MarkAliasInstalledOperation` which the installation
- // manager only uses to update the in-memory installed repository.
+ // Marking an alias as installed/uninstalled has no filesystem side
+ // effects — the target package's files are already in vendor/.
+ // Mirrors Composer's `MarkAlias{,Un}installedOperation` which the
+ // installation manager only uses to update the in-memory installed
+ // repository.
let Some(pkg) = op.package() else {
return Ok(());
};