From: Martin Dowie <martin.dowie@btopenworld.com>
Subject: Re: operations on files and directories
Date: Wed, 03 May 2006 17:22:19 +0100
Date: 2006-05-03T17:22:19+01:00 [thread overview]
Message-ID: <TOadnb-qN-ogRcXZRVnyrQ@bt.com> (raw)
In-Reply-To: <1146667325.606250.177290@y43g2000cwc.googlegroups.com>
evangeli@cnam.fr wrote:
> Hello,
> how would you do to
> 1 - check if two files have the same content
You have to do that yourself or use some other library.
> 2 - check if two files have the same date
Same date for what? Creation, Modification? Access?
If it's modification time then use one of the overloaded
"Modification_Time" subprograms. If it's creation/access then you could
check if your compiler provides the optional standard package
"Ada.Directories.Information" and if it is good enough to provide
functions to access those.
See:
http://www.martin.dowie.btinternet.co.uk
and specifically:
http://www.martin.dowie.btinternet.co.uk/Directories/adabrowse/ada-directories-information.html
Cheers
-- Martin
next prev parent reply other threads:[~2006-05-03 16:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-03 14:42 operations on files and directories evangeli
2006-05-03 16:22 ` Martin Dowie [this message]
2006-05-03 16:37 ` evangeli
2006-05-03 16:54 ` Martin Dowie
2006-05-03 21:18 ` Randy Brukardt
2006-05-03 18:14 ` Keith Thompson
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox