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
{{ message }}
Repository navigation
While reading non-go file one unreadable file or directory aborts the whole analysis #65
The artifact walk returns any WalkDir error, analyze turns it into a fatal “repository layer” error. One unreadable file or directory anywhere in the project stops the analysis, and cango writes no analysis.json.
These are non-Go files. The Go analysis does not need them.
To Reproduce
Create a directory in the project that the user cannot read, for example mkdir data && chmod 000 data.
Run cango -i . -a 4
Expected behavior cango skips the unreadable entry with a warning and write analysis.json.
Fixed in PR #55 (d2ae0e4): an entry that cannot be listed, stat'ed, opened or read is skipped with a warning that names it. Only the project root stays fatal.
Activity
rahlk commentedon Nov 29, 2026
Fixed in PR #55 (
d2ae0e4): an entry that cannot be listed, stat'ed, opened or read is skipped with a warning that names it. Only the project root stays fatal.