pathname-as-directory

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 documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.