(path, times)
| 5329 | } |
| 5330 | |
| 5331 | function _utimes(path, times) { |
| 5332 | var time; |
| 5333 | if (times) { |
| 5334 | var offset = 8 + 0; |
| 5335 | time = HEAP32[(((times)+(offset))>>2)] * 1000; |
| 5336 | offset = 8 + 4; |
| 5337 | time += HEAP32[(((times)+(offset))>>2)] / 1000; |
| 5338 | } else { |
| 5339 | time = Date.now(); |
| 5340 | } |
| 5341 | path = Pointer_stringify(path); |
| 5342 | try { |
| 5343 | FS.utime(path, time, time); |
| 5344 | return 0; |
| 5345 | } catch (e) { |
| 5346 | FS.handleFSError(e); |
| 5347 | return -1; |
| 5348 | } |
| 5349 | } |
| 5350 | FS.staticInit();__ATINIT__.unshift(function() { if (!Module["noFSInit"] && !FS.init.initialized) FS.init() });__ATMAIN__.push(function() { FS.ignorePermissions = false });__ATEXIT__.push(function() { FS.quit() });Module["FS_createFolder"] = FS.createFolder;Module["FS_createPath"] = FS.createPath;Module["FS_createDataFile"] = FS.createDataFile;Module["FS_createPreloadedFile"] = FS.createPreloadedFile;Module["FS_createLazyFile"] = FS.createLazyFile;Module["FS_createLink"] = FS.createLink;Module["FS_createDevice"] = FS.createDevice;Module["FS_unlink"] = FS.unlink;; |
| 5351 | __ATINIT__.unshift(function() { TTY.init() });__ATEXIT__.push(function() { TTY.shutdown() });; |
| 5352 | if (ENVIRONMENT_IS_NODE) { var fs = require("fs"); var NODEJS_PATH = require("path"); NODEFS.staticInit(); }; |
no test coverage detected
searching dependent graphs…