(path)
| 2684 | return parent; |
| 2685 | } |
| 2686 | function base(path) { |
| 2687 | var parts = path.split('/'); |
| 2688 | return parts[parts.length-1]; |
| 2689 | } |
| 2690 | // We also accept FileList here, by using Array.prototype |
| 2691 | Array.prototype.forEach.call(mount.opts["files"] || [], function(file) { |
| 2692 | WORKERFS.createNode(ensureParent(file.name), base(file.name), WORKERFS.FILE_MODE, 0, file, file.lastModifiedDate); |
no outgoing calls
no test coverage detected
searching dependent graphs…