File Explorer

/proc/self/root/proc/1/task/1/root/node24/lib/node_modules/npm/node_modules/graceful-fs

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

clone.js496 B · 24 lines
'use strict' module.exports = clone var getPrototypeOf = Object.getPrototypeOf || function (obj) {  return obj.__proto__} function clone (obj) {  if (obj === null || typeof obj !== 'object')    return obj   if (obj instanceof Object)    var copy = { __proto__: getPrototypeOf(obj) }  else    var copy = Object.create(null)   Object.getOwnPropertyNames(obj).forEach(function (key) {    Object.defineProperty(copy, key, Object.getOwnPropertyDescriptor(obj, key))  })   return copy}