GDevelop icon indicating copy to clipboard operation
GDevelop copied to clipboard

Add read directory to filesystem extension

Open arthuro555 opened this issue 1 year ago • 4 comments

Adds an action to read a directory to the filesystem actions.

arthuro555 avatar Jan 15 '24 12:01 arthuro555

(This should be ready for review)

arthuro555 avatar Jan 16 '24 21:01 arthuro555

Thats great, but what if instead of reading every sub-directory at once, the user can insert a depth limit?

-1 = everything 0 = only the main level 1 = only the main level and its sub-directories 2 = (...)

RebornOfc avatar Jan 24 '24 18:01 RebornOfc

Two passed with flying colors

Cheapetsgrow avatar Mar 06 '24 18:03 Cheapetsgrow

Thats great, but what if instead of reading every sub-directory at once, the user can insert a depth limit?

The implementation is not recursive, it should only read the contents of the directory, not sub directories. A recursive read can be done through a loop.

arthuro555 avatar Apr 21 '24 11:04 arthuro555

Bump

arthuro555 avatar Jul 10 '24 15:07 arthuro555

@Bouh When merging, please use a commit name that is descriptive as it will be used for the changelog. Thanks :)

4ian avatar Jul 11 '24 08:07 4ian