mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
[PR #478] [MERGED] feat: Abort immedietly when ^C is received. #503
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/bootandy/dust/pull/478
Author: @quantatic
Created: 3/17/2025
Status: ✅ Merged
Merged: 3/30/2025
Merged by: @bootandy
Base:
master← Head:master📝 Commits (1)
91c0fc8feat: Abort immedietly when ^C is received.📊 Changes
3 files changed (+1 additions, -20 deletions)
View changed files
📝
src/dir_walker.rs(+0 -4)📝
src/main.rs(+1 -15)📝
src/progress.rs(+0 -1)📄 Description
Previously, we attempted to perform a clean shutdown, which could take a significant period of time on slow filesystems. This commit changes the shutdown logic to unconditionally abort immediately when ^C is received by the program.
This PR resolves #477.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.