file-within-dir

Name

file-within-dir -- Compute the name of the file within it's directory

Type: function

Synopsis

file-within-dir( pathname, string);

Arguments

pathname

A pathname object (an instance of <file-name>)

Return Values

string

An instance of <string>.

Description

This function returns the name of the file represented by the given pathname object within it's directory. That is, if the pathname is foo/bar/baz.scm, then the file is within the foo/bar directory (see file-directory) and the file name within the directory is baz.scm.