refactor: urfave v3

This commit is contained in:
2024-07-09 13:57:54 +02:00
parent 375e17a4a0
commit 1f8662cd95
336 changed files with 7332 additions and 25145 deletions

View File

@ -1,4 +1,4 @@
// Package client implements everything required for interacting with a Notary repository.
//Package client implements everything required for interacting with a Notary repository.
package client
import (

View File

@ -33,7 +33,7 @@ type TargetSignedStruct struct {
Signatures []data.Signature
}
// ErrNoSuchTarget is returned when no valid trust data is found.
//ErrNoSuchTarget is returned when no valid trust data is found.
type ErrNoSuchTarget string
func (f ErrNoSuchTarget) Error() string {

View File

@ -1,4 +1,3 @@
//go:build !pkcs11
// +build !pkcs11
package client

View File

@ -1,4 +1,3 @@
//go:build pkcs11
// +build pkcs11
package client

View File

@ -1,4 +1,3 @@
//go:build !windows
// +build !windows
package notary

View File

@ -1,4 +1,3 @@
//go:build windows
// +build windows
package notary

View File

@ -1,4 +1,3 @@
//go:build pkcs11
// +build pkcs11
package yubikey

View File

@ -1,4 +1,3 @@
//go:build pkcs11 && darwin
// +build pkcs11,darwin
package yubikey

View File

@ -1,4 +1,3 @@
//go:build pkcs11
// +build pkcs11
// an interface around the pkcs11 library, so that things can be mocked out

View File

@ -1,4 +1,3 @@
//go:build pkcs11 && linux
// +build pkcs11,linux
package yubikey

View File

@ -1,4 +1,3 @@
//go:build pkcs11
// +build pkcs11
package yubikey

View File

@ -11,7 +11,7 @@
//
// The MIT License (MIT)
//
// # Copyright (c) 2014 youmark
// Copyright (c) 2014 youmark
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal