yorukot/superfile · error
the file is not readable: %s
Error message
the file is not readable: %s
What it means
Error "the file is not readable: %s" thrown in yorukot/superfile.
Source
Thrown at src/internal/function.go:123
count++
}
return nil
})
return count, err
}
func countReadableFiles(dirPath string) (int, error) {
count := 0
err := filepath.Walk(dirPath, func(path string, info os.FileInfo, err error) error {
if err != nil {
return err
}
if !info.IsDir() {
if err = checkFileReadable(path); err != nil {
slog.Error("the file is not readable", "error", err)
return fmt.Errorf("the file is not readable: %s", err.Error())
}
count++
}
return nil
})
return count, err
}
func processCmdToTeaCmd(cmd processbar.Cmd) tea.Cmd {
if cmd == nil {
// To prevent us from running cmd() on nil cmd
return nil
}
return func() tea.Msg {
updateMsg := cmd()
return ProcessBarUpdateMsg{
pMsg: updateMsg,View on GitHub (pinned to b72f550bc6)
When it happens
Trigger: Thrown at src/internal/function.go:123 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of yorukot/superfile@b72f550bc6 (2026-09-01).
Data as JSON: /api/errors/d81f65680c97499f.
Report an issue: GitHub.