emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: file-equal-p


From: Eli Zaretskii
Subject: Re: file-equal-p
Date: Sat, 18 Feb 2023 14:25:00 +0200

> From: Andreas Schwab <schwab@linux-m68k.org>
> Cc: rms@gnu.org,  luangruo@yahoo.com,  emacs-devel@gnu.org
> Date: Fri, 17 Feb 2023 14:17:48 +0100
> 
> On Feb 17 2023, Eli Zaretskii wrote:
> 
> > That depends on the semantics of "files are equal".  If the issue is
> > only whether two file names point to the same file's data, then yes,
> > using file-attribute-file-identifier is TRT.  But that is not the only
> > possible semantics of these tests.
> 
> What are those other semantics?

The simplest one is when the caller wants to check whether all of the
attributes of two sets are identical, for example in order to see if
the file was accessed since the last check.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]