Next: FilePath-file name management, Previous: FilePath-directory operations, Up: FilePath [Index]
Evaluate aBlock on the File objects that match aPattern (according to String>>#match:) in the directory named by the receiver. Recursively descend into directories.
Answer an Array with Directory objects for the subdirectories of the directory represented by the receiver.
Evaluate aBlock once for each file in the directory represented by the receiver, passing a FilePath object (or a subclass) to it. It depends on the subclass whether iteration will include the ’.’ and ’..’ directory entries.
Answer an Array with File or Directory objects for the contents of the directory represented by the receiver.
Answer an Array with the names of the files in the directory represented by the receiver.
Answer an Array with File objects for the contents of the directory represented by the receiver.
Evaluate aBlock once for each file in the directory represented by the receiver, passing a File or Directory object to aBlock. Returns the *names* of the files for which aBlock returns true.
Evaluate block on the File objects that match aPattern (according to String>>#match:) in the directory named by the receiver.
Evaluate aBlock once for each file in the directory represented by the receiver, passing its name. It depends on the subclass whether iteration will include the ’.’ and ’..’ directory entries.
Evaluate block on the file names that match aPattern (according to String>>#match:) in the directory named by the receiver.
Evaluate aBlock once for each file in the directory represented by the receiver, passing a File or Directory object to aBlock. Returns the *names* of the files for which aBlock returns true.
Evaluate aBlock once for each file in the directory represented by the receiver, passing a File or Directory object to aBlock. Returns the *names* of the files for which aBlock returns true.
Next: FilePath-file name management, Previous: FilePath-directory operations, Up: FilePath [Index]