chickadee » srfi-170 » file-info

file-info fname/port #!optional (follow? #t)procedure

The file-info procedure returns a file-info record containing useful information about a file. If the follow? flag is true the procedure will follow symlinks and report on the file to which they refer. If follow? is false the procedure checks the actual file itself, even if it's a symlink. The follow? flag is ignored if the file argument is a port.

fname/port
path or Scheme port
follow?
Follow symlinks, default #t