eza-community / eza-community/eza

feat: skip calculating size for a folder if it takes too long

Open
#650 1 comment 1 reaction 0 assignees View on GitHub
area: filesystem area: performance type: feature
Dominant language
Rust
Stars
23.3k
Forks
523
PR merge metrics
No merged PRs in 30d

Description

I have some cloud drives mounted using rclone and eza currently gets stuck when trying to calculate folder sizes using `--total-size`. So I suggest adding an option such that if size calculation takes too long for a folder, eza skip size calculation for that folder

eza v0.15.3
Termux 0.118.0 on Android 13

Contributor guide

Open the contributing guide

Research direction

Start by locating the Rust implementation of `--total-size` and the folder-size calculation path. Determine how a configurable time limit could apply per folder, then add focused coverage for the timeout behavior and verify that normal size calculation still works.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.