GetGoogleapisDirPath gets the path to a clone of googleapis.
(tb testing.TB, buftestingDirPath string)
| 103 | |
| 104 | // GetGoogleapisDirPath gets the path to a clone of googleapis. |
| 105 | func GetGoogleapisDirPath(tb testing.TB, buftestingDirPath string) string { |
| 106 | googleapisDirPath := filepath.Join(buftestingDirPath, testGoogleapisDirPath) |
| 107 | require.NoError( |
| 108 | tb, |
| 109 | testArchiveReader.GetArchive( |
| 110 | tb.Context(), |
| 111 | googleapisDirPath, |
| 112 | "googleapis", |
| 113 | "googleapis", |
| 114 | testGoogleapisCommit, |
| 115 | ), |
| 116 | ) |
| 117 | return googleapisDirPath |
| 118 | } |
| 119 | |
| 120 | // GetProtocFilePaths gets the file paths for protoc. |
| 121 | // |
searching dependent graphs…