Lines Matching refs:mode
1268 this.path = n, this.fd = null, this.readable = !0, this.paused = !1, this.flags = "r", this.mode = 438, this.bufferSize = 65536, r = r || {
1284 e.open(this.path, this.flags, this.mode, (function (e, t) {
1290 Mt.call(this), this.path = n, this.fd = null, this.writable = !0, this.flags = "w", this.encoding = "binary", this.mode = 438, this.bytesWritten = 0, r = r || {
1301 this.busy = !1, this._queue = [], null === this.fd && (this._open = e.open, this._queue.push([this._open, this.path, this.flags, this.mode, void 0]), this.flush())
1421 h(e.path, e.flags, e.mode, (function (t, n) {
1428 h(e.path, e.flags, e.mode, (function (t, n) {
1545 mode: n
1550 let o = n.mode;
1567 n && "object" == typeof n || (n = { mode: n });
1568 let u = n.mode;
1707 return Ln.mkdirSync(n), Jn(t, n, r), Ln.chmodSync(n, e.mode)
1741 return "function" == typeof Ln.copyFileSync ? (Ln.copyFileSync(t, n), Ln.chmodSync(n, e.mode), r.preserveTimestamps ? Hn(n, e.atime, e.mtime) : void 0) : function(e, t, n, r){
1749 }))(u), i = Ln.openSync(t, "r"), s = Ln.openSync(n, "w", e.mode);
1804 ar(t, n, r, (t => t ? u(t) : Zn.chmod(n, e.mode, u)))
1825 const t = Zn.createWriteStream(n, { mode: e.mode });
1832 Zn.chmod(t, e.mode, (u => u ? r(u) : n.preserveTimestamps ? tr(t, e.atime, e.mtime, r) : r()))
2313 const t = { mode: parseInt("0600", 8), compress: !1 }, n = Object.assign({}, t, e);
2318 const i = ao.createWriteStream(t, { mode: n.mode, flags: "wx" }).on("open", (() => {
2423 mode: parseInt("0600", 8),
2478 r = { compress: this.options.compress && 0 === t, mode: this.options.mode };
2512 const n = { flags: this.options.flags, encoding: this.options.encoding, mode: this.options.mode };
2555 }), t || (t = "yyyy-MM-dd"), n.pattern = t, n.numBackups || 0 === n.numBackups ? n.daysToKeep = n.numBackups : (n.daysToKeep || 0 === n.daysToKeep ? process.emitWarning("options.daysToKeep is deprecated due to the confusion it causes when used together with file size rolling. Please use options.numBackups instead.", "DeprecationWarning", "streamroller-DEP0001") : n.daysToKeep = 1, n.numBackups = n.daysToKeep), super(e, n), this.mode = this.options.mode
2575 return e.layout && (n = t.layout(e.layout.type, e.layout)), e.mode = e.mode || 384, function(e, t, n, r, u, o){
2632 return e.layout && (n = t.layout(e.layout.type, e.layout)), e.alwaysIncludePattern || (e.alwaysIncludePattern = !1), e.mode = e.mode || 384, jo(e.filename, e.pattern, n, e, e.timezoneOffset)
2652 n(Go.dirname(e)), Vo.appendFileSync(e, "", { mode: t.mode, flag: t.flags })
2711 const r = { flags: e.flags || "a", encoding: e.encoding || "utf8", mode: e.mode || 384 };
3840 const zs = Gs, { checkPath:Ks } = Js, qs = e => "number" == typeof e ? e : {mode: 511,...e}.mode;
3842 mode: qs(t),
3844 })), Us.makeDirSync = (e, t) => (Ks(e), zs.mkdirSync(e, { mode: qs(t), recursive: !0 }));
3982 }(e.mode, n, r, u, o)
4003 }(e.mode, t, n, u) : wc(n, e.mode, u)))
4054 }(e.mode, n, r, u)
4097 }(e.mode, t, n), Tc(n, e.mode)