@directory_read(path:string)
@directory_read(path:string, level:int)
@directory_read(path:string, ["ext1", "ext2", ...]:tab)
@directory_read(path:string, level:int, ["ext1", "ext2", ...]:tab)
The first version of this command returns a MAP (dictionary) where the
keys are the names of the file located in the directory specifeid by
path
. The subdirectory do not appears in the map. The
value associated to a key is the key itself.
If level
is specified, the listing is extended to the
subdirectories up to level
of nestings. A sub-directory is
described by a key (a string specifying its name) and a map describing
its content.
If ["ext1", "ext2", ...]
is specified, only the files
with theses extensions are listed.
See also System Related Functions @arch_darwin, @arch_linux, @arch_windows, @compilation, @configuration_arch, @configuration_audiosample, @configuration_debug, @configuration_faust, @configuration_host, @configuration_release, @configuration_target_architecture, @current_load_directory, @directory_read, @exe_child_of, @exe_parent, @history_length, @host_date, @info, @is_fastforward, @is_following_on, @is_paused, @is_playing_on, @is_running, @is_stopped, @max_absolute_path, @max_patch_path, @pwd, @strip_path, @system, @Tracing, @time, @typecheck, @UnTracing @usage_resident_memory_size, @usage_statistics, @usage_virtual_memory_size @user_directory