/usr/share/axiom-20170501/src/algebra/FNAME.spad is in axiom-source 20170501-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | )abbrev domain FNAME FileName
++ Author: Stephen M. Watt
++ Date Created: 1985
++ Date Last Updated: June 20, 1991
++ Description:
++ This domain provides an interface to names in the file system.
FileName() : SIG == CODE where
SIG ==> FileNameCategory
CODE ==> add
f1 = f2 == EQUAL(f1, f2)$Lisp
coerce(f: %): OutputForm == f::String::OutputForm
coerce(f: %): String == NAMESTRING(f)$Lisp
coerce(s: String): % == PARSE_-NAMESTRING(s)$Lisp
filename(d,n,e) == fnameMake(d,n,e)$Lisp
directory(f:%): String == fnameDirectory(f)$Lisp
name(f:%): String == fnameName(f)$Lisp
extension(f:%): String == fnameType(f)$Lisp
exists? f == fnameExists?(f)$Lisp
readable? f == fnameReadable?(f)$Lisp
writable? f == fnameWritable?(f)$Lisp
new(d,pref,e) == fnameNew(d,pref,e)$Lisp
|