mirror of
https://github.com/mpv-player/mpv
synced 2024-12-27 01:22:30 +00:00
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
This commit is contained in:
parent
39630dc8b6
commit
b6aedaa726
@ -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``
|
||||
|
Loading…
Reference in New Issue
Block a user