From b6aedaa7262781bdc763cf2886d27c37659f7729 Mon Sep 17 00:00:00 2001 From: "Avi Halachmi (:avih)" Date: Mon, 3 May 2021 13:17:46 +0300 Subject: DOCS/lua.rst: fix docs for utils.file_info MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The ctime member on Windows uses FILE_BASIC_INFO.ChangeTime, which is pretty much the same as st_ctime on POSIX. See https://devblogs.microsoft.com/oldnewthing/20100709-00/?p=13463 : ... The Last­Write­Time covers writes to the file’s data stream (which you accomplish via the Write­File function). On the other hand, the Change­Time also includes changes to the file metadata, such as changing its file attributes ... Fixes #8801 --- DOCS/man/lua.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'DOCS') diff --git a/DOCS/man/lua.rst b/DOCS/man/lua.rst index 8a8fadc40c..43954044d1 100644 --- a/DOCS/man/lua.rst +++ b/DOCS/man/lua.rst @@ -769,7 +769,7 @@ strictly part of the guaranteed API. ``mtime`` time of last modification ``ctime`` - time of last metadata change (Linux) / time of creation (Windows) + time of last metadata change ``is_file`` Whether ``path`` is a regular file (boolean) ``is_dir`` -- cgit v1.2.3