cli-plugins/manager: remove deprecated IsNotFound

These errors satisfy errdefs.IsNotFound, which can be used instead. This
function was deprecated in 71460215d3 and
is no longer used.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2025-09-01 17:32:23 +02:00
parent 6ec32660e9
commit d54c7f9e63

View File

@ -37,13 +37,6 @@ func (e errPluginNotFound) Error() string {
return "Error: No such CLI plugin: " + string(e)
}
// IsNotFound is true if the given error is due to a plugin not being found.
//
// Deprecated: use [errdefs.IsNotFound].
func IsNotFound(err error) bool {
return errdefs.IsNotFound(err)
}
// getPluginDirs returns the platform-specific locations to search for plugins
// in order of preference.
//