Skip to content

Commit 0689522

Browse files
committed
Normalize description of ResourceLoader.list_directory()
1 parent c5c1cd4 commit 0689522

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/classes/ResourceLoader.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@
8181
<description>
8282
Lists a directory, returning all resources and subdirectories contained within. The resource files have the original file names as visible in the editor before exporting. The directories have [code]"/"[/code] appended.
8383
[codeblock]
84-
print(ResourceLoader.list_directory("res://assets/enemies/slime"))
8584
# Prints ["extra_data/", "model.gltf", "model.tscn", "model_slime.png"]
85+
print(ResourceLoader.list_directory("res://assets/enemies/slime"))
8686
[/codeblock]
8787
[b]Note:[/b] The order of files and directories returned by this method is not deterministic, and can vary between operating systems.
8888
[b]Note:[/b] To normally traverse the filesystem, see [DirAccess].

0 commit comments

Comments
 (0)