Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /usr/local/lib/node_modules/pm2/node_modules/js-git/mixins/ drwxr-xr-x | |
| Viewing file: Select action/file-type: "use strict";
module.exports = function (repo, ms) {
var saveAs = repo.saveAs;
var loadAs = repo.loadAs;
var readRef = repo.readRef;
var updateRef = repo.updateRef;
var createTree = repo.createTree;
repo.saveAs = saveAsDelayed;
repo.loadAs = loadAsDelayed;
repo.readRef = readRefDelayed;
repo.updateRed = updateRefDelayed;
if (createTree) repo.createTree = createTreeDelayed;
function saveAsDelayed(type, value, callback) {
if (!callback) return saveAsDelayed.bind(repo, type, value);
setTimeout(function () {
return saveAs.call(repo, type, value, callback);
}, ms);
}
function loadAsDelayed(type, hash, callback) {
if (!callback) return loadAsDelayed.bind(repo, type, hash);
setTimeout(function () {
return loadAs.call(repo, type, hash, callback);
}, ms);
}
function readRefDelayed(ref, callback) {
if (!callback) return readRefDelayed.bind(repo, ref);
setTimeout(function () {
return readRef.call(repo, ref, callback);
}, ms);
}
function updateRefDelayed(ref, hash, callback) {
if (!callback) return updateRefDelayed.bind(repo, ref, hash);
setTimeout(function () {
return updateRef.call(repo, ref, hash, callback);
}, ms);
}
function createTreeDelayed(entries, callback) {
if (!callback) return createTreeDelayed.bind(repo, entries);
setTimeout(function () {
return createTree.call(repo, entries, callback);
}, ms);
}
};
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0041 ]-- |