Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/go: fail go clean command when failed to find go cache directory #70392

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Commits on Nov 16, 2024

  1. md/go: fail go clean command when failed to find go cache directory

    Currently, if computing of the go cache directory fails it does not expose the error. Commands like go clean, exec, modindex that use go cache directory continue execution producing incorrect or no result.
    This patch adds an error to the return values such that it can be validated on call sites. It also introduces such validation in go clean -cache command to fail execution in case when error occurred.
    
    Fixes golang#69997
    mneverov committed Nov 16, 2024
    Configuration menu
    Copy the full SHA
    69a6fb5 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2024

  1. Add test.

    mneverov committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    f43af96 View commit details
    Browse the repository at this point in the history
  2. Add test.

    mneverov committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    e0537d1 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2024

  1. Configuration menu
    Copy the full SHA
    0684661 View commit details
    Browse the repository at this point in the history
  2. Remove obsolete errcheck.

    mneverov committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    f7f708e View commit details
    Browse the repository at this point in the history