|
From: | Michael Albinus |
Subject: | bug#58446: 28.2; file-attribute-device-number returns a cons cell instead of an integer |
Date: | Thu, 13 Oct 2022 21:16:48 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Version: 29.1 Eli Zaretskii <eliz@gnu.org> writes: >> But if we haven't needed that until now, we're probably not going to >> need it going forward, and we should just document the current status >> quo. >> >> > And perhaps we could even add a helper function to extract the >> > information for a file's uniqueness: >> > >> > (defsubst file-attribute-file-number (attributes) >> > "The inode and device numbers in ATTRIBUTES returned by >> > `file-attributes'. >> > It can be used to determine whether two files are identical." >> > (nthcdr 10 attributes)) >> > >> > WDYT? >> >> Makes sense to me. > > Agreed. Pushed to master. Closing the bug. Best regards, Michael.
[Prev in Thread] | Current Thread | [Next in Thread] |