- path->entryparameter
-
entry> entry> dir fn dir-selprocedure Convert pathname into a Gopher entry. DIR is the directory on disk; FN is the file's basename; DIR-SEL is the selector corresponding to DIR.
Returns an entry object or an SGM entry; either is permissible. Generated entries need not be file entries; they might be, for example, info entries!
This is a parameter used by filenames->entries and ultimately by handle-dir, so override this if you would like to change how directory contents are presented to the user.
The default value is a procedure that maps directories to type 1, other files based on extension-type-map, and defaults to binary type 9. Symbolic links are currently ignored.