fix: sort file name for cache reproduction (#588)

This commit is contained in:
Xu Yang
2025-02-12 15:29:57 +08:00
committed by GitHub
parent 99141a7b19
commit 3b9b646ed2
@@ -95,6 +95,7 @@ def describe_data_folder(folder_path, indent=0, max_files=2, partial_expand_subf
for root, dirs, files in os.walk(folder_path):
dirs.sort()
files.sort()
if not dirs:
for file in files:
file_path = os.path.join(root, file)