[Ecls-list] Determining if a pathname refers to a directory

KDr2 killy.draw at gmail.com
Sat Feb 26 15:34:56 UTC 2011


Is this one OK?

> (ext:file-kind #P"/" t)

:DIRECTORY

(ext:file-kind path follow-links)

--
Best Regards,
      -- KDr2 http://kdr2.net




On Sat, Feb 26, 2011 at 8:50 PM, Zach Beane <xach at xach.com> wrote:

> If I've gotten a pathname like #p"/foo/bar", is there an ecl-specific
> function I can call to determine if "/foo/bar" names a directory?
>
> Thanks,
> Zach
>
>
> ------------------------------------------------------------------------------
> Free Software Download: Index, Search & Analyze Logs and other IT data in
> Real-Time with Splunk. Collect, index and harness all the fast moving IT
> data
> generated by your applications, servers and devices whether physical,
> virtual
> or in the cloud. Deliver compliance at lower cost and gain new business
> insights. http://p.sf.net/sfu/splunk-dev2dev
> _______________________________________________
> Ecls-list mailing list
> Ecls-list at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ecls-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20110226/54144144/attachment.html>


More information about the ecl-devel mailing list