>> i repeatedly struggle due to this behavior:
>> (iolib.pathnames:file-path-directory (iolib.pathnames:file-path
>> "/tmp/")) => (:ROOT)
>
> What's the problem exactly ?

i list a few cases that doesn't match my expectations when it comes to
a high level lib dealing with file path parsing and manipulating:

(file-path-file-name (file-path "/tmp/foo/")) => "foo"

(file-path-file-type (file-path "/tmp/foo.bar/")) =>"bar"

(file-path-namestring (file-path "/tmp/foo/")) => "/tmp/foo"

this last one especially when interfacing with cl:ensure-directories-exist

--
 attila

_______________________________________________
IOLib-devel mailing list
[email protected]
http://common-lisp.net/cgi-bin/mailman/listinfo/iolib-devel

Reply via email to