bevy/crates
Arthur Brussee 34c8778bf0
Fix get_asset_paths not properly deleting empty folders (& recursive async functions) (#12638)
# Objective

get_asset_paths tries to check whether a folder is empty, and if so
delete it. However rather than checking whether any subfolder contains
files it checks whether _all_ subfolders have files.

Also cleanup various BoxedFutures in async recursive functions like
these, rust 1.77 now allows recursive async functions (albeit still by
boxing), hurray! This is a followup to #12550 (sorta). More BoxedFuture
stuff can be removed now that rust 1.77 is out, which can use async
recursive functions! This is mainly just cleaner code wise - the
recursion still boxes the future so not much to win there.

PR is mainly whitespace changes so do disable whitespace diffs for
easier review.
2024-03-23 03:35:51 +00:00
..
bevy_a11y Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_animation Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_app Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_asset Fix get_asset_paths not properly deleting empty folders (& recursive async functions) (#12638) 2024-03-23 03:35:51 +00:00
bevy_audio Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_color Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_core Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_core_pipeline Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_derive Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_dev_tools Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_diagnostic Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_dylib Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_dynamic_plugin Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_ecs Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_ecs_compile_fail_tests Fix Ci failing over dead code in tests (#12623) 2024-03-21 18:08:47 +00:00
bevy_encase_derive Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_gilrs Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_gizmos Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_gltf Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_hierarchy Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_input Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_internal Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_log Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_macro_utils Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_macros_compile_fail_tests Fix Ci failing over dead code in tests (#12623) 2024-03-21 18:08:47 +00:00
bevy_math Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_mikktspace Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_panic_handler Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_pbr Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_ptr Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_reflect Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_reflect_compile_fail_tests Fix Ci failing over dead code in tests (#12623) 2024-03-21 18:08:47 +00:00
bevy_render Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_scene Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_sprite Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_tasks Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_text Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_time Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_transform Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_ui Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_utils Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_window Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00
bevy_winit Make feature(doc_auto_cfg) work (#12642) 2024-03-23 02:22:52 +00:00