caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Jun P. FURUSE" <Jun.Furuse@inria.fr>
To: halnaf@hotmail.com
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] files or directories
Date: Fri, 21 Mar 2003 10:57:29 +0100 (CET)	[thread overview]
Message-ID: <20030321.105729.74746594.Jun.Furuse@inria.fr> (raw)
In-Reply-To: <F30pzhad2VqKwRPQIWD00000556@hotmail.com>

> hello,
> 
> I made a browser in labltk,
> I display files and directories in a listbox,
> but i want to separate directories and files, to forbid to make
> "opendir" to a file.
> I try with function in Filename but I could choose one type of files like
> ".xml" with test on suffix, but i couldn't have the entire list of files.

Use Unix.stat.

--
Jun

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


      reply	other threads:[~2003-03-21  9:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-20 22:35 deerf hal
2003-03-21  9:57 ` Jun P. FURUSE [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030321.105729.74746594.Jun.Furuse@inria.fr \
    --to=jun.furuse@inria.fr \
    --cc=caml-list@inria.fr \
    --cc=halnaf@hotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).