/snap/node/11782/lib/node_modules/npm/node_modules/@npmcli/git/lib
NameSizeModeActions
clone.js49370644editdlrm
errors.js5790644editdlrm
find.js3160644editdlrm
index.js2420644editdlrm
is-clean.js2220644editdlrm
is.js2160644editdlrm
lines-to-revs.js40610644editdlrm
make-error.js8610644editdlrm
opts.js16170644editdlrm
revs.js5210644editdlrm
spawn.js13030644editdlrm
utils.js1090644editdlrm
which.js3390644editdlrm
Edit: /snap/node/11782/lib/node_modules/npm/node_modules/@npmcli/git/lib/errors.js (579B)
const maxRetry = 3 class GitError extends Error { shouldRetry () { return false } } class GitConnectionError extends GitError { constructor () { super('A git connection error occurred') } shouldRetry (number) { return number < maxRetry } } class GitPathspecError extends GitError { constructor () { super('The git reference could not be found') } } class GitUnknownError extends GitError { constructor () { super('An unknown git error occurred') } } module.exports = { GitConnectionError, GitPathspecError, GitUnknownError, }