Created
October 29, 2010 10:03
-
-
Save bnoordhuis/653264 to your computer and use it in GitHub Desktop.
futimes.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### fs.utimes(path, atime, mtime, [callback]) | |
Asynchronous utimes(2). Updates the last access and last modified timestamps of | |
the file pointed to by `path`. | |
`atime` and `mtime` may be a (fractional) UNIX timestamp or a Date object. | |
No arguments other than a possible exception are given to the completion callback. | |
### fs.futimes(fd, atime, mtime, [callback]) | |
Asynchronous futimes(2). Updates the last access and last modified timestamps of | |
the file associated with file descriptor `fd`. | |
`atime` and `mtime` may be a (fractional) UNIX timestamp or a Date object. | |
No arguments other than a possible exception are given to the completion callback. | |
### fs.utimesSync(path, atime, mtime) | |
Synchronous utimes(2). Updates the last access and last modified timestamps of | |
the file pointed to by `path`. | |
`atime` and `mtime` may be a (fractional) UNIX timestamp or a Date object. | |
No arguments other than a possible exception are given to the completion callback. | |
### fs.futimes(fd, atime, mtime, [callback]) | |
Synchronous futimes(2). Updates the last access and last modified timestamps of | |
the file associated with file descriptor `fd`. | |
`atime` and `mtime` may be a (fractional) UNIX timestamp or a Date object. | |
No arguments other than a possible exception are given to the completion callback. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment