Futimes
[<Interface>]
type Futimes =
abstract member Invoke (fd: float, atime: TimeLike, mtime: TimeLike, callback: NoParamCallback) : unit
abstract member __promisify__ (fd: float, atime: TimeLike, mtime: TimeLike) : Promise<unit>| Assembly | Xantham.Fable.Node |
Methods
abstract member Invoke (fd: float, atime: TimeLike, mtime: TimeLike, callback: NoParamCallback) : unit
abstract member Invoke (fd: float, atime: TimeLike, mtime: TimeLike, callback: NoParamCallback) : unitChange the file system timestamps of the object referenced by the supplied file descriptor. See utimes.
@since v0.4.2
abstract member __promisify__ (fd: float, atime: TimeLike, mtime: TimeLike) : Promise<unit>
abstract member __promisify__ (fd: float, atime: TimeLike, mtime: TimeLike) : Promise<unit>Asynchronously change file timestamps of the file referenced by the supplied file descriptor.
| Parameter | |
|---|---|
fd | A file descriptor. |
atime | The last access time. If a string is provided, it will be coerced to number. |
mtime | The last modified time. If a string is provided, it will be coerced to number. |