import{__exports as t}from"../../../../_virtual/reader.mjs";import s from"../../../../_virtual/_node_path.mjs";import{__require as r}from"../../../@nodelib/fs.stat/out/index.mjs";import{__require as e}from"../utils/index.mjs";var i;function o(){if(i)return t;i=1,Object.defineProperty(t,"__esModule",{value:!0});const o=s,n=r(),_=e();return t.default=class{constructor(t){this._settings=t,this._fsStatSettings=new n.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(t){return o.resolve(this._settings.cwd,t)}_makeEntry(t,s){const r={name:s,path:s,dirent:_.fs.createDirentFromStats(s,t)};return this._settings.stats&&(r.stats=t),r}_isFatalError(t){return!_.errno.isEnoentCodeError(t)&&!this._settings.suppressErrors}},t}export{o as __require};