pathname-as-directory

$Revision: 5.0.2.2 $

Function

Package: EXCL

Arguments: (pathname)

Turn pathname, a file namestring or pathname, into a pathname where all of pathname is in the directory component. For example,

(pathname-as-directory "foo")

returns the same value as

(pathname "foo/")

as does

(pathname-as-directory (pathname "foo"))

but

(pathname-as-directory "foo/bar")

returns the same value as

(pathname "foo/bar/")

The general documentation description is in introduction.htm. The index is in index.htm.

Copyright (C) 1998-1999, Franz Inc., Berkeley, CA. All Rights Reserved.