FileNameExtras.mesa
This interface provides some utilities for manipulating file names and path names. It will be folded into FileNames at the next opportunity.
Last Edited by: Stewart.pa, January 16, 1984 7:28 pm
DIRECTORY
Rope USING [ROPE];
FileNameExtras: CEDAR DEFINITIONS =
BEGIN
Useful procedures for using the file system.
Here are a collection of useful file-system related procedures.
Parent: PROC [path: Rope.ROPE] RETURNS [Rope.ROPE];
If path is a directory, then returns the parent directory. If path is a file, then returns the current directory. In either case, this means that Parent returns the directory which contains the current object.
END.