Skip to content

countGoImportsScanned no longer reports the correct count #7

@pwaller

Description

@pwaller

goimports got faster! 🎉

Unfortunately, in the process countGoImportsScanned doesn't work anymore, since goimports no longer prints the directories which are scanned when it is running in verbose mode. If we wanted to count this we'd have to count the syscalls (unportable) or reintroduce the message or add a counting feature to goimports itself. I guess it was removed for a reason.

The log message always shows 0 here now:

Ignored 434 directories. goimports considers 0 directories in 148ms (cpu=416ms).

I'm not actively working on this. I would accept a patch just to remove the count message, for now, at which point I would consider the issue closed.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions