Files
NapCatQQ/.pnpm-store/v3/files/7a/ec0ecdb74bdb1bff7d719214cd81abbacc2e6b9f35f8424c80559d6ee0bea6a2ab35d5189f245b4e6b25d33710bba63c6630bb26f67b8baf7fd125312cb4ec
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

23 lines
444 B
Plaintext

'use strict';
var through = require('through2');
function prepareRead(optResolver) {
function normalize(file, enc, callback) {
var since = optResolver.resolve('since', file);
// Skip this file if since option is set and current file is too old
if (file.stat && file.stat.mtime <= since) {
return callback();
}
return callback(null, file);
}
return through.obj(normalize);
}
module.exports = prepareRead;