Linux v69820.1blu.de 4.15.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
Apache/2.4.58
Server IP : 195.90.215.149 & Your IP : 216.73.216.250
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
nodejs /
@npmcli /
git /
lib /
Delete
Unzip
Name
Size
Permission
Date
Action
clone.js
4.78
KB
-rw-r--r--
2023-11-23 07:39
errors.js
600
B
-rw-r--r--
2023-11-23 07:39
find.js
300
B
-rw-r--r--
2023-11-23 07:39
index.js
242
B
-rw-r--r--
2023-11-23 07:39
is-clean.js
222
B
-rw-r--r--
2023-11-23 07:39
is.js
271
B
-rw-r--r--
2023-11-23 07:39
lines-to-revs.js
3.97
KB
-rw-r--r--
2023-11-23 07:39
make-error.js
861
B
-rw-r--r--
2023-11-23 07:39
opts.js
371
B
-rw-r--r--
2023-11-23 07:39
revs.js
638
B
-rw-r--r--
2023-11-23 07:39
spawn.js
1.27
KB
-rw-r--r--
2023-11-23 07:39
utils.js
109
B
-rw-r--r--
2023-11-23 07:39
which.js
339
B
-rw-r--r--
2023-11-23 07:39
Save
Rename
const spawn = require('@npmcli/promise-spawn') const promiseRetry = require('promise-retry') const log = require('proc-log') const makeError = require('./make-error.js') const whichGit = require('./which.js') const makeOpts = require('./opts.js') module.exports = (gitArgs, opts = {}) => { const gitPath = whichGit(opts) if (gitPath instanceof Error) { return Promise.reject(gitPath) } // undocumented option, mostly only here for tests const args = opts.allowReplace || gitArgs[0] === '--no-replace-objects' ? gitArgs : ['--no-replace-objects', ...gitArgs] let retryOpts = opts.retry if (retryOpts === null || retryOpts === undefined) { retryOpts = { retries: opts.fetchRetries || 2, factor: opts.fetchRetryFactor || 10, maxTimeout: opts.fetchRetryMaxtimeout || 60000, minTimeout: opts.fetchRetryMintimeout || 1000, } } return promiseRetry((retryFn, number) => { if (number !== 1) { log.silly('git', `Retrying git command: ${ args.join(' ')} attempt # ${number}`) } return spawn(gitPath, args, makeOpts(opts)) .catch(er => { const gitError = makeError(er) if (!gitError.shouldRetry(number)) { throw gitError } retryFn(gitError) }) }, retryOpts) }