aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2025-05-11 10:32:27 +0200
committerChristian Clason <ch.clason+github@icloud.com>2025-05-11 11:08:33 +0200
commit73e7e7631c7ad18f8abd127c1956dcf9a3a8d1c2 (patch)
treeb903dd3ff590314b42f9593fa341fdd2dc8ebddb /runtime/lua
parent1889c351fdc4da4766d0de4aa6bf62dd804a4797 (diff)
downloadrneovim-73e7e7631c7ad18f8abd127c1956dcf9a3a8d1c2.tar.gz
rneovim-73e7e7631c7ad18f8abd127c1956dcf9a3a8d1c2.tar.bz2
rneovim-73e7e7631c7ad18f8abd127c1956dcf9a3a8d1c2.zip
build(deps): bump luv to 1.51.0-0
Diffstat (limited to 'runtime/lua')
-rw-r--r--runtime/lua/uv/_meta.lua51
1 files changed, 40 insertions, 11 deletions
diff --git a/runtime/lua/uv/_meta.lua b/runtime/lua/uv/_meta.lua
index 46672c4994..7283b0236f 100644
--- a/runtime/lua/uv/_meta.lua
+++ b/runtime/lua/uv/_meta.lua
@@ -204,6 +204,11 @@ uv.constants.SOCK_RDM = 'rdm'
uv.constants.TTY_MODE_NORMAL = 'normal'
uv.constants.TTY_MODE_RAW = 'raw'
uv.constants.TTY_MODE_IO = 'io'
+uv.constants.TTY_MODE_RAW_VT = 'raw_vt'
+
+--- # FS Modification Times
+uv.constants.FS_UTIME_NOW = 'now'
+uv.constants.FS_UTIME_OMIT = 'omit'
--- # Error Handling
@@ -3404,33 +3409,57 @@ function uv.fs_chmod(path, mode) end
function uv.fs_fchmod(fd, mode) end
--- Equivalent to `utime(2)`.
+---
+--- See [Constants][] for supported FS Modification Time constants.
+---
+--- Passing `"now"` or `uv.constants.FS_UTIME_NOW` as the atime or mtime sets the timestamp to the
+--- current time.
+---
+--- Passing `nil`, `"omit"`, or `uv.constants.FS_UTIME_OMIT` as the atime or mtime leaves the timestamp
+--- untouched.
--- @param path string
---- @param atime number
---- @param mtime number
+--- @param atime number|string?
+--- @param mtime number|string?
--- @return boolean? success
--- @return string? err
--- @return uv.error_name? err_name
---- @overload fun(path: string, atime: number, mtime: number, callback: fun(err: string?, success: boolean?)): uv.uv_fs_t
+--- @overload fun(path: string, atime: number|string?, mtime: number|string?, callback: fun(err: string?, success: boolean?)): uv.uv_fs_t
function uv.fs_utime(path, atime, mtime) end
---- Equivalent to `futime(2)`.
+--- Equivalent to `futimes(3)`.
+---
+--- See [Constants][] for supported FS Modification Time constants.
+---
+--- Passing `"now"` or `uv.constants.FS_UTIME_NOW` as the atime or mtime sets the timestamp to the
+--- current time.
+---
+--- Passing `nil`, `"omit"`, or `uv.constants.FS_UTIME_OMIT` as the atime or mtime leaves the timestamp
+--- untouched.
--- @param fd integer
---- @param atime number
---- @param mtime number
+--- @param atime number|string?
+--- @param mtime number|string?
--- @return boolean? success
--- @return string? err
--- @return uv.error_name? err_name
---- @overload fun(fd: integer, atime: number, mtime: number, callback: fun(err: string?, success: boolean?)): uv.uv_fs_t
+--- @overload fun(fd: integer, atime: number|string?, mtime: number|string?, callback: fun(err: string?, success: boolean?)): uv.uv_fs_t
function uv.fs_futime(fd, atime, mtime) end
---- Equivalent to `lutime(2)`.
+--- Equivalent to `lutimes(3)`.
+---
+--- See [Constants][] for supported FS Modification Time constants.
+---
+--- Passing `"now"` or `uv.constants.FS_UTIME_NOW` as the atime or mtime sets the timestamp to the
+--- current time.
+---
+--- Passing `nil`, `"omit"`, or `uv.constants.FS_UTIME_OMIT` as the atime or mtime leaves the timestamp
+--- untouched.
--- @param path string
---- @param atime number
---- @param mtime number
+--- @param atime number|string?
+--- @param mtime number|string?
--- @return boolean? success
--- @return string? err
--- @return uv.error_name? err_name
---- @overload fun(path: string, atime: number, mtime: number, callback: fun(err: string?, success: boolean?)): uv.uv_fs_t
+--- @overload fun(path: string, atime: number|string?, mtime: number|string?, callback: fun(err: string?, success: boolean?)): uv.uv_fs_t
function uv.fs_lutime(path, atime, mtime) end
--- Equivalent to `link(2)`.