@@ -43,6 +43,7 @@ fn total_width() {
4343 root : workspace. to_path_buf ( ) ,
4444 size_getter : DEFAULT_GET_SIZE ,
4545 reporter : ErrorOnlyReporter :: new ( ErrorReport :: SILENT ) ,
46+ max_depth : 10 ,
4647 } ;
4748 let mut data_tree: DataTree < OsStringDisplay , _ > = builder. into ( ) ;
4849 data_tree. par_cull_insignificant_data ( 0.01 ) ;
@@ -81,6 +82,7 @@ fn column_width() {
8182 root : workspace. to_path_buf ( ) ,
8283 size_getter : DEFAULT_GET_SIZE ,
8384 reporter : ErrorOnlyReporter :: new ( ErrorReport :: SILENT ) ,
85+ max_depth : 10 ,
8486 } ;
8587 let mut data_tree: DataTree < OsStringDisplay , _ > = builder. into ( ) ;
8688 data_tree. par_cull_insignificant_data ( 0.01 ) ;
@@ -119,6 +121,7 @@ fn min_ratio_0() {
119121 root : workspace. to_path_buf ( ) ,
120122 size_getter : GetApparentSize ,
121123 reporter : ErrorOnlyReporter :: new ( ErrorReport :: SILENT ) ,
124+ max_depth : 10 ,
122125 } ;
123126 let mut data_tree: DataTree < OsStringDisplay , _ > = builder. into ( ) ;
124127 data_tree. par_sort_by ( |left, right| left. size ( ) . cmp ( & right. size ( ) ) . reverse ( ) ) ;
@@ -156,6 +159,7 @@ fn min_ratio() {
156159 root : workspace. to_path_buf ( ) ,
157160 size_getter : GetApparentSize ,
158161 reporter : ErrorOnlyReporter :: new ( ErrorReport :: SILENT ) ,
162+ max_depth : 10 ,
159163 } ;
160164 let mut data_tree: DataTree < OsStringDisplay , _ > = builder. into ( ) ;
161165 data_tree. par_cull_insignificant_data ( 0.1 ) ;
@@ -194,6 +198,7 @@ fn max_depth_2() {
194198 root : workspace. to_path_buf ( ) ,
195199 size_getter : GetApparentSize ,
196200 reporter : ErrorOnlyReporter :: new ( ErrorReport :: SILENT ) ,
201+ max_depth : 10 ,
197202 } ;
198203 let mut data_tree: DataTree < OsStringDisplay , _ > = builder. into ( ) ;
199204 data_tree. par_cull_insignificant_data ( 0.01 ) ;
@@ -232,6 +237,7 @@ fn max_depth_1() {
232237 root : workspace. to_path_buf ( ) ,
233238 size_getter : GetApparentSize ,
234239 reporter : ErrorOnlyReporter :: new ( ErrorReport :: SILENT ) ,
240+ max_depth : 10 ,
235241 } ;
236242 let mut data_tree: DataTree < OsStringDisplay , _ > = builder. into ( ) ;
237243 data_tree. par_cull_insignificant_data ( 0.01 ) ;
@@ -269,6 +275,7 @@ fn top_down() {
269275 root : workspace. to_path_buf ( ) ,
270276 size_getter : DEFAULT_GET_SIZE ,
271277 reporter : ErrorOnlyReporter :: new ( ErrorReport :: SILENT ) ,
278+ max_depth : 10 ,
272279 } ;
273280 let mut data_tree: DataTree < OsStringDisplay , _ > = builder. into ( ) ;
274281 data_tree. par_cull_insignificant_data ( 0.01 ) ;
@@ -306,6 +313,7 @@ fn align_right() {
306313 root : workspace. to_path_buf ( ) ,
307314 size_getter : DEFAULT_GET_SIZE ,
308315 reporter : ErrorOnlyReporter :: new ( ErrorReport :: SILENT ) ,
316+ max_depth : 10 ,
309317 } ;
310318 let mut data_tree: DataTree < OsStringDisplay , _ > = builder. into ( ) ;
311319 data_tree. par_cull_insignificant_data ( 0.01 ) ;
@@ -343,6 +351,7 @@ fn quantity_apparent_size() {
343351 root : workspace. to_path_buf ( ) ,
344352 size_getter : GetApparentSize ,
345353 reporter : ErrorOnlyReporter :: new ( ErrorReport :: SILENT ) ,
354+ max_depth : 10 ,
346355 } ;
347356 let mut data_tree: DataTree < OsStringDisplay , _ > = builder. into ( ) ;
348357 data_tree. par_cull_insignificant_data ( 0.01 ) ;
@@ -381,6 +390,7 @@ fn quantity_block_size() {
381390 root : workspace. to_path_buf ( ) ,
382391 size_getter : GetBlockSize ,
383392 reporter : ErrorOnlyReporter :: new ( ErrorReport :: SILENT ) ,
393+ max_depth : 10 ,
384394 } ;
385395 let mut data_tree: DataTree < OsStringDisplay , _ > = builder. into ( ) ;
386396 data_tree. par_cull_insignificant_data ( 0.01 ) ;
@@ -419,6 +429,7 @@ fn quantity_block_count() {
419429 root : workspace. to_path_buf ( ) ,
420430 size_getter : GetBlockCount ,
421431 reporter : ErrorOnlyReporter :: new ( ErrorReport :: SILENT ) ,
432+ max_depth : 10 ,
422433 } ;
423434 let mut data_tree: DataTree < OsStringDisplay , _ > = builder. into ( ) ;
424435 data_tree. par_cull_insignificant_data ( 0.01 ) ;
@@ -458,6 +469,7 @@ fn bytes_format_plain() {
458469 root : workspace. to_path_buf ( ) ,
459470 size_getter : GetBlockSize ,
460471 reporter : ErrorOnlyReporter :: new ( ErrorReport :: SILENT ) ,
472+ max_depth : 10 ,
461473 } ;
462474 let mut data_tree: DataTree < OsStringDisplay , _ > = builder. into ( ) ;
463475 data_tree. par_cull_insignificant_data ( 0.01 ) ;
@@ -497,6 +509,7 @@ fn bytes_format_metric() {
497509 root : workspace. to_path_buf ( ) ,
498510 size_getter : GetBlockSize ,
499511 reporter : ErrorOnlyReporter :: new ( ErrorReport :: SILENT ) ,
512+ max_depth : 10 ,
500513 } ;
501514 let mut data_tree: DataTree < OsStringDisplay , _ > = builder. into ( ) ;
502515 data_tree. par_cull_insignificant_data ( 0.01 ) ;
@@ -536,6 +549,7 @@ fn bytes_format_binary() {
536549 root : workspace. to_path_buf ( ) ,
537550 size_getter : GetBlockSize ,
538551 reporter : ErrorOnlyReporter :: new ( ErrorReport :: SILENT ) ,
552+ max_depth : 10 ,
539553 } ;
540554 let mut data_tree: DataTree < OsStringDisplay , _ > = builder. into ( ) ;
541555 data_tree. par_cull_insignificant_data ( 0.01 ) ;
@@ -573,6 +587,7 @@ fn path_to_workspace() {
573587 root : workspace. to_path_buf ( ) ,
574588 size_getter : DEFAULT_GET_SIZE ,
575589 reporter : ErrorOnlyReporter :: new ( ErrorReport :: SILENT ) ,
590+ max_depth : 10 ,
576591 } ;
577592 let mut data_tree: DataTree < OsStringDisplay , _ > = builder. into ( ) ;
578593 data_tree. par_cull_insignificant_data ( 0.01 ) ;
@@ -615,6 +630,7 @@ fn multiple_names() {
615630 root : workspace. to_path_buf ( ) . join ( name) ,
616631 size_getter : GetApparentSize ,
617632 reporter : ErrorOnlyReporter :: new ( ErrorReport :: SILENT ) ,
633+ max_depth : 10 ,
618634 } ;
619635 let mut data_tree: DataTree < OsStringDisplay , _ > = builder. into ( ) ;
620636 * data_tree. name_mut ( ) = OsStringDisplay :: os_string_from ( name) ;
@@ -625,6 +641,7 @@ fn multiple_names() {
625641 OsStringDisplay :: os_string_from ( "(total)" ) ,
626642 0 . into ( ) ,
627643 children. collect ( ) ,
644+ 10 ,
628645 )
629646 } )
630647 . into_par_sorted ( |left, right| left. size ( ) . cmp ( & right. size ( ) ) . reverse ( ) ) ;
0 commit comments