MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / isFsInaccessible

Function isFsInaccessible

source code/utils/errors.ts:188–197  ·  view source on GitHub ↗
(e: unknown)

Source from the content-addressed store, hash-verified

186 * ELOOP — too many symlink levels (circular symlinks)
187 */
188export function isFsInaccessible(e: unknown): e is NodeJS.ErrnoException {
189 const code = getErrnoCode(e)
190 return (
191 code === 'ENOENT' ||
192 code === 'EACCES' ||
193 code === 'EPERM' ||
194 code === 'ENOTDIR' ||
195 code === 'ELOOP'
196 )
197}
198
199export type AxiosErrorKind =
200 | 'auth' // 401/403 — caller typically sets skipRetry

Callers 15

readAgentMetadataFunction · 0.85
readRemoteAgentMetadataFunction · 0.85
listRemoteAgentMetadataFunction · 0.85
readCronTasksFunction · 0.85
getProjectDirsUpToHomeFunction · 0.85
loadMarkdownFilesFunction · 0.85
detectFileEncodingFunction · 0.85
getSortedIdeLockfilesFunction · 0.85
getIdeLockfilesPathsFunction · 0.85

Calls 1

getErrnoCodeFunction · 0.85

Tested by

no test coverage detected