You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Keep the sentinel as the prefix (consumers match with startsWith)
103
+
// and append the reason, following the FILE_TOO_LARGE precedent.
104
+
// The ignore check never touches the file itself, so only claim
105
+
// existence when a stat confirms it.
106
+
letexists=false
107
+
try{
108
+
awaitfs.stat(fullPath)
109
+
exists=true
110
+
}catch{
111
+
// missing or unreadable: omit the existence claim
112
+
}
113
+
result[relativePath]=
114
+
FILE_READ_STATUS.IGNORED+
115
+
`: ${isEnvTemplate ? 'blocked by ignore-rule checking' : 'excluded by ignore rules'} (.gitignore, .codebuffignore, or built-in defaults), not an OS permission issue.${exists ? ' The file exists on disk;' : ''} glob and code_search omit it for the same reason. To allow tool reads, adjust or negate the matching rule in .codebuffignore (a file-level negation cannot re-include a path under an excluded directory).`
0 commit comments