Page MenuHomeSealhub

virtual-file.js
No OneTemporary

virtual-file.js

//useful for sending content as a file, when the content is generated on the fly and not read directly from hdd
var VirtualFile = function(content, mime){
ret = {};
this.content = content;
this.mime = mime || "text/plain";
}
module.exports = VirtualFile;

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 28, 14:52 (10 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1082966
Default Alt Text
virtual-file.js (260 B)

Event Timeline