file-author | Function |
file-author pathspec → author
pathspec — a pathname designator.
author — a string or nil.
Returns a string naming the author of the file specified by pathspec, or nil if the author’s name cannot be determined.
(with-open-file (stream ">relativity>general.text")
(file-author s))
→ "albert"
The host computer’s file system.
Other users of the file named by pathspec.
An error of type file-error is signaled if pathspec is wild.
An error of type file-error is signaled if the file system cannot perform the requested operation.
pathname, logical-pathname, Section 20.1 (File System Concepts), Section 19.1.2 (Pathnames as Filenames)