Skip to content

Commit aca9aec

Browse files
Update hf_file_system.md (#2616)
Co-authored-by: Celina Hanouti <hanouticelina@gmail.com>
1 parent 41b7aaf commit aca9aec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/en/guides/hf_file_system.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ In addition to the [`HfApi`], the `huggingface_hub` library provides [`HfFileSys
1717
['datasets/my-username/my-dataset-repo/data/train.csv', 'datasets/my-username/my-dataset-repo/data/test.csv']
1818

1919
>>> # List all ".csv" files in a repo
20-
>>> fs.glob("datasets/my-username/my-dataset-repo/**.csv")
20+
>>> fs.glob("datasets/my-username/my-dataset-repo/**/*.csv")
2121
['datasets/my-username/my-dataset-repo/data/train.csv', 'datasets/my-username/my-dataset-repo/data/test.csv']
2222

2323
>>> # Read a remote file

0 commit comments

Comments
 (0)