wxDir

wxDir

Creation Parameters
Functions/Procedures
Supertopics
Subtopics

wxDir

[func]
dir_exists
( sequence directory )

Category: wxDir

Returns 1 if the directory exists, 0 if it does not.


wxDir

[func]
get_all_files
( object dirname, sequence filespec, integer flags, atom traverser )

Category: wxDir

Walks the specified directory, returning all the files and/or directories as specified by flags.


wxDir

[func]
has_files
( atom dir, sequence spec )

Category: wxDir

Checks to see if any files in it's current directory contain files specified by spec. This uses wildcards to find things, so you can do something like "*.e" for spec to find files ending with '.e'. However, this returns an integer pointer if it finds anything, and a 0 if it finds nothing.


wxDir

[func]
has_subdirs
( atom dir, sequence spec )

Category: wxDir

This is similar to has_files, except that has_subdirs checks the subdirectories instead of just the current directory for the specified files.


wxDir

[func]
is_opened
( atom dir )

Category: wxDir

Returns true if the directory was successfully opened by a previous call to open_dir.


wxDir

[func]
open_dir
( atom dir, sequence dname )

Category: wxDir

Open the directory for enumerating, returns true on success or false if an error occurred.