diff options
author | Avi Halachmi (:avih) <avihpit@yahoo.com> | 2021-05-03 13:17:46 +0300 |
---|---|---|
committer | Avi Halachmi (:avih) <avihpit@yahoo.com> | 2021-05-03 13:25:21 +0300 |
commit | b6aedaa7262781bdc763cf2886d27c37659f7729 (patch) | |
tree | d5f940f9af8b9cc2a298cf0615c83a0898a60e49 /DOCS | |
parent | 39630dc8b6c2241df9e0e6066e1bd858b864f7de (diff) | |
download | mpv-b6aedaa7262781bdc763cf2886d27c37659f7729.tar.bz2 mpv-b6aedaa7262781bdc763cf2886d27c37659f7729.tar.xz |
DOCS/lua.rst: fix docs for utils.file_info
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 LastWriteTime covers writes to the file’s data stream
(which you accomplish via the WriteFile function). On the other
hand, the ChangeTime also includes changes to the file metadata,
such as changing its file attributes ...
Fixes #8801
Diffstat (limited to 'DOCS')
-rw-r--r-- | DOCS/man/lua.rst | 2 |
1 files changed, 1 insertions, 1 deletions
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`` |