()
| 54 | } |
| 55 | |
| 56 | func (bi *BuildInfo) UserAgent() string { |
| 57 | return fmt.Sprintf("cloudflared/%s", bi.CloudflaredVersion) |
| 58 | } |
| 59 | |
| 60 | // FileChecksum opens a file and returns the SHA256 checksum. |
| 61 | func FileChecksum(filePath string) (string, error) { |
no outgoing calls
no test coverage detected