mirror of
https://github.com/neovim/neovim.git
synced 2026-05-05 21:45:05 +00:00
build(deps): bump luv to 1.51.0-0
This commit is contained in:
committed by
Christian Clason
parent
1889c351fd
commit
73e7e7631c
@@ -220,6 +220,12 @@ TTY Modes ~
|
||||
- `TTY_MODE_NORMAL`: "normal"
|
||||
- `TTY_MODE_RAW`: "raw"
|
||||
- `TTY_MODE_IO`: "io"
|
||||
`TTY_MODE_RAW_VT`: "raw_vt"
|
||||
|
||||
FS Modification Times ~
|
||||
|
||||
- `FS_UTIME_NOW`: "now"
|
||||
- `FS_UTIME_OMIT`: "omit"
|
||||
|
||||
==============================================================================
|
||||
ERROR HANDLING *luv-error-handling*
|
||||
@@ -3276,12 +3282,12 @@ uv.fs_fchmod({fd}, {mode} [, {callback}]) *uv.fs_fchmod()*
|
||||
|
||||
Returns (async version): `uv_fs_t userdata`
|
||||
|
||||
uv.fs_utime({path}, {atime}, {mtime} [, {callback}]) *uv.fs_utime()*
|
||||
uv.fs_utime({path} [, {atime}, {mtime}, {callback}]) *uv.fs_utime()*
|
||||
|
||||
Parameters:
|
||||
- `path`: `string`
|
||||
- `atime`: `number`
|
||||
- `mtime`: `number`
|
||||
- `atime`: `number` or `string` or `nil`
|
||||
- `mtime`: `number` or `string` or `nil`
|
||||
- `callback`: `callable` (async version) or `nil` (sync
|
||||
version)
|
||||
- `err`: `nil` or `string`
|
||||
@@ -3289,39 +3295,66 @@ uv.fs_utime({path}, {atime}, {mtime} [, {callback}]) *uv.fs_utime()*
|
||||
|
||||
Equivalent to `utime(2)`.
|
||||
|
||||
See |luv-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.
|
||||
|
||||
Returns (sync version): `boolean` or `fail`
|
||||
|
||||
Returns (async version): `uv_fs_t userdata`
|
||||
|
||||
uv.fs_futime({fd}, {atime}, {mtime} [, {callback}]) *uv.fs_futime()*
|
||||
uv.fs_futime({fd} [, {atime}, {mtime}, {callback}]) *uv.fs_futime()*
|
||||
|
||||
Parameters:
|
||||
- `fd`: `integer`
|
||||
- `atime`: `number`
|
||||
- `mtime`: `number`
|
||||
- `atime`: `number` or `string` or `nil`
|
||||
- `mtime`: `number` or `string` or `nil`
|
||||
- `callback`: `callable` (async version) or `nil` (sync
|
||||
version)
|
||||
- `err`: `nil` or `string`
|
||||
- `success`: `boolean` or `nil`
|
||||
|
||||
Equivalent to `futime(2)`.
|
||||
Equivalent to `futimes(3)`.
|
||||
|
||||
See |luv-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.
|
||||
|
||||
Returns (sync version): `boolean` or `fail`
|
||||
|
||||
Returns (async version): `uv_fs_t userdata`
|
||||
|
||||
uv.fs_lutime({path}, {atime}, {mtime} [, {callback}]) *uv.fs_lutime()*
|
||||
uv.fs_lutime({path} [, {atime}, {mtime}, {callback}]) *uv.fs_lutime()*
|
||||
|
||||
Parameters:
|
||||
- `path`: `string`
|
||||
- `atime`: `number`
|
||||
- `mtime`: `number`
|
||||
- `atime`: `number` or `string` or `nil`
|
||||
- `mtime`: `number` or `string` or `nil`
|
||||
- `callback`: `callable` (async version) or `nil` (sync
|
||||
version)
|
||||
- `err`: `nil` or `string`
|
||||
- `success`: `boolean` or `nil`
|
||||
|
||||
Equivalent to `lutime(2)`.
|
||||
Equivalent to `lutimes(3)`.
|
||||
|
||||
See |luv-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.
|
||||
|
||||
Returns (sync version): `boolean` or `fail`
|
||||
|
||||
|
||||
@@ -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)`.
|
||||
|
||||
Reference in New Issue
Block a user