FunctionPackage: net.uriToCDocOverviewCGDocRelNotesIndexPermutedIndex
Allegro CL version 6.2
Unrevised from 6.1

pathname-to-uri

Arguments: pathname

Converts an absolute pathname to file scheme URI. This function and the related uri-to-pathname are designed to handle URIs with a scheme of file and no host. It is an error for pathname to name a relative pathname.

Examples

;;  On UNIX:

cl-user(1): (net.uri:uri-to-pathname (parse-uri "file:///foo/bar.cl"))
#p"/foo/bar.cl"
cl-user(2): (net.uri:pathname-to-uri *)
#<uri file:///foo/bar.cl>

;; On Windows:

cl-user(1): (net.uri:uri-to-pathname (parse-uri "file:///d:/foo/bar.cl"))
#p"d:\\foo\\bar.cl"
cl-user(2): (net.uri:pathname-to-uri *)
#<uri file:///d:/foo/bar.cl>

See also uri.htm for general information on Universal Resource Indicator support in Allegro CL.


Copyright (c) 1998-2002, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 6.2. This page was not revised from the 6.1 page.
Created 2002.2.26.

ToCDocOverviewCGDocRelNotesIndexPermutedIndex
Allegro CL version 6.2
Unrevised from 6.1