MCPcopy Create free account
hub / github.com/mscdex/ssh2 / futimes

Method futimes

lib/protocol/SFTP.js:1166–1171  ·  view source on GitHub ↗
(handle, atime, mtime, cb)

Source from the content-addressed store, hash-verified

1164 );
1165 }
1166 futimes(handle, atime, mtime, cb) {
1167 return this.fsetstat(handle, {
1168 atime: toUnixTimestamp(atime),
1169 mtime: toUnixTimestamp(mtime)
1170 }, cb);
1171 }
1172 utimes(path, atime, mtime, cb) {
1173 return this.setstat(path, {
1174 atime: toUnixTimestamp(atime),

Callers

nothing calls this directly

Calls 2

fsetstatMethod · 0.95
toUnixTimestampFunction · 0.85

Tested by

no test coverage detected