[PR #478] [MERGED] feat: Abort immedietly when ^C is received. #503

Closed
opened 2026-06-08 11:28:53 +03:00 by zhus · 0 comments
Owner

📋 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: masterHead: master


📝 Commits (1)

  • 91c0fc8 feat: 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.

## 📋 Pull Request Information **Original PR:** https://github.com/bootandy/dust/pull/478 **Author:** [@quantatic](https://github.com/quantatic) **Created:** 3/17/2025 **Status:** ✅ Merged **Merged:** 3/30/2025 **Merged by:** [@bootandy](https://github.com/bootandy) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`91c0fc8`](https://github.com/bootandy/dust/commit/91c0fc879996de8e9f7dcfc79735921ac4ffc144) feat: Abort immedietly when ^C is received. ### 📊 Changes **3 files changed** (+1 additions, -20 deletions) <details> <summary>View changed files</summary> 📝 `src/dir_walker.rs` (+0 -4) 📝 `src/main.rs` (+1 -15) 📝 `src/progress.rs` (+0 -1) </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
zhus added the pull-request label 2026-06-08 11:28:53 +03:00
zhus closed this issue 2026-06-08 11:28:54 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bootandy/archived-dust#503