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
Tue, Jul 8, 08:08 (1 d, 9 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
810441
Default Alt Text
virtual-file.js (260 B)

Event Timeline