nushell/crates/nu-command/src
Wind 38ffcaad7b
make du streaming (#14665)
# Description
Following up for issue comment:
https://github.com/nushell/nushell/pull/14407#issuecomment-2532343036

> it looks like it just hangs when it's actually counting things

I noticed that `du` command collects output internally, so it doesn't
streaming.

This pr is trying to make it streaming

# User-Facing Changes
NaN

# Tests + Formatting
NaN
2024-12-25 21:40:02 +08:00
..
bytes Add bytes split command (#14652) 2024-12-25 07:04:43 -06:00
charting Add Filesize type (#14369) 2024-11-29 21:24:17 +00:00
conversions Remove pub on some command internals (#14636) 2024-12-19 19:42:18 +01:00
database Add Filesize type (#14369) 2024-11-29 21:24:17 +00:00
date Deprecate date to-record and date to-table (#14319) 2024-11-29 23:06:26 +01:00
debug Replace std::time::Instant with web_time::Instant (#14668) 2024-12-25 16:50:02 +08:00
env Add content type metadata to config nu commands (#14666) 2024-12-25 06:14:04 -06:00
experimental Start to Add WASM Support Again (#14418) 2024-11-30 07:57:11 -06:00
filesystem make du streaming (#14665) 2024-12-25 21:40:02 +08:00
filters Add binary input support to chunks (#14649) 2024-12-25 06:14:48 -06:00
formats Switch from serde_yaml to serde_yml (#14630) 2024-12-25 21:35:49 +08:00
generators Seq char update will work on all char (#14261) 2024-11-15 21:05:29 +01:00
hash add binary as input to hash commands (#13923) 2024-09-25 16:47:52 +08:00
help Change help commands to use name from scope instead of the name from the declaration (#14490) 2024-12-10 09:27:30 -06:00
math Add Filesize type (#14369) 2024-11-29 21:24:17 +00:00
misc Add environment variables for sourced files (#14486) 2024-12-02 06:19:20 -06:00
network Start to Add WASM Support Again (#14418) 2024-11-30 07:57:11 -06:00
path Add path self command for getting absolute paths to files at parse time (#14303) 2024-12-06 08:19:08 -06:00
platform Remove pub on some command internals (#14636) 2024-12-19 19:42:18 +01:00
random Add Filesize type (#14369) 2024-11-29 21:24:17 +00:00
removed Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
shells Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
stor feat: stor insert accepts lists (#14175) 2024-10-29 06:32:55 -05:00
strings update unicode-width to 0.2 (#14456) 2024-11-29 09:09:45 +08:00
system Revert "fix: make exec command decrement SHLVL correctly" (#14580) 2024-12-13 18:34:33 -06:00
viewers Replace std::time::Instant with web_time::Instant (#14668) 2024-12-25 16:50:02 +08:00
default_context.rs Add bytes split command (#14652) 2024-12-25 07:04:43 -06:00
example_test.rs Overhaul $in expressions (#13357) 2024-07-17 16:02:42 -05:00
lib.rs Start to Add WASM Support Again (#14418) 2024-11-30 07:57:11 -06:00
progress_bar.rs Cut down unnecessary lint allows (#14335) 2024-11-15 19:24:39 +01:00
sort_utils.rs Rework sorting and add cell path and closure comparators to sort-by (#13154) 2024-10-09 19:18:16 -07:00