()
| 86 | } |
| 87 | |
| 88 | func (s schemaSource) cachePath() (string, error) { |
| 89 | dir, err := schemaCacheDir() |
| 90 | if err != nil { |
| 91 | return "", err |
| 92 | } |
| 93 | return filepath.Join(dir, s.fileName), nil |
| 94 | } |
| 95 | |
| 96 | // updatePath is where ghmock schemas update writes the file: the path in the |
| 97 | // environment variable if it's set, because that's the file ghmock uses, and |
no test coverage detected