(iolib.os:file-exists-p (iolib.pathnames:file-path "doesnt-exist"))
results in:
Unknown file mode: 890000.. This seems to be a bug in IOlib. Please report it to iolib-devel@common-lisp.net [Condition of type IOLIB.BASE:IOLIB-BUG]
Restarts: 2: RETRY Retry SLIME REPL evaluation request. 1: *ABORT Return to SLIME's top level. 0: TERMINATE-THREAD Terminate this thread (#<THREAD "repl-thread" RUNNING {1006F86411}>)
Backtrace: 0: (IOLIB.BASE:BUG "Unknown file mode: ~A.") [:EXTERNAL] 1: (IOLIB.OS::GET-FILE-KIND #/p/"/home/alendvai/workspace/hu.dwim.wui/www/foo/bar" T) 2: (IOLIB.OS:FILE-EXISTS-P #/p/"/home/alendvai/workspace/hu.dwim.wui/www/foo/bar" NIL) 3: (SB-INT:SIMPLE-EVAL-IN-LEXENV (IOLIB.OS:FILE-EXISTS-P (IOLIB.PATHNAMES:MERGE-FILE-PATHS "foo/bar" (IOLIB.PATHNAMES:FILE-PATH #))) #<NULL-LEXENV>)
hth,