pglite-semantic-search / assets /nodefs-CCGrc9rU.js
thorwebdev's picture
Initial commit.
59d509e verified
raw
history blame contribute delete
No virus
420 Bytes
import{x as s,P as i,z as t,D as o}from"./index-C8iGwwE4.js";s();var d=class extends i{constructor(e){super(e),this.rootDir=(void 0)(e),(void 0)((void 0)(this.rootDir))||(void 0)(this.rootDir)}async emscriptenOpts(e){return{...e,preRun:[...e.preRun||[],r=>{let n=r.FS.filesystems.NODEFS;r.FS.mkdir(t),r.FS.mount(n,{root:this.rootDir},t)}]}}async dumpTar(e,r){return o(e,r)}async close(e){e.quit()}};export{d as NodeFS};