(ctx context.Context, bucket ModuleReadBucket)
| 57 | } |
| 58 | |
| 59 | func getDocFilePathForModuleReadBucket(ctx context.Context, bucket ModuleReadBucket) string { |
| 60 | for _, docFilePath := range orderedDocFilePaths { |
| 61 | if _, err := bucket.StatFileInfo(ctx, docFilePath); err == nil { |
| 62 | return docFilePath |
| 63 | } |
| 64 | } |
| 65 | return "" |
| 66 | } |
| 67 | |
| 68 | // getStorageMatcher gets the storage.Matcher that will filter the storage.ReadBucket down to specifically |
| 69 | // the files that are relevant to a module. |
no test coverage detected
searching dependent graphs…