PFSExtras.mesa
Copyright Ó 1990 by Xerox Corporation. All rights reserved.
Chauser, September 5, 1990 10:32 am PDT
DIRECTORY
PFSNames USING [PATH],
Rope USING [ROPE]
;
PFSExtras: CEDAR DEFINITIONS
~ BEGIN
ROPE: TYPE ~ Rope.ROPE;
PATH: TYPE ~ PFSNames.PATH;
PFSNameToUnixName: PROC [ file: PATH ] RETURNS [ ROPE ];
For views that use the unix file system, returns the unix name corresponding to file. The implementor should try to avoid file system access; however, to implement the translation of file!H file system access will, of course, be needed. If no unix name can be deduced, returns NIL.
CaseSensitive: PROC [ file: PATH ] RETURNS [ BOOL ];
Returns TRUE iff the case of any character in the file name is significant. If the class doesn't implement the proc, raises Error[notImplemented];
END.