Clean cleans the file path option values
()
| 48 | |
| 49 | // Clean cleans the file path option values |
| 50 | func (opts *Options) Clean() { |
| 51 | if opts.BundlePath != "" { |
| 52 | opts.BundlePath = filepath.Clean(opts.BundlePath) |
| 53 | } |
| 54 | } |
| 55 | |
| 56 | // FetchAttestationsFromGitHubAPI returns true if the command should fetch attestations from the GitHub API |
| 57 | // It checks that a bundle path is not provided and that the "use bundle from registry" flag is not set |
no outgoing calls
no test coverage detected