(ctx context.Context, bucket storage.ReadBucket)
| 48 | } |
| 49 | |
| 50 | func getDocFilePathForStorageReadBucket(ctx context.Context, bucket storage.ReadBucket) string { |
| 51 | for _, docFilePath := range orderedDocFilePaths { |
| 52 | if _, err := bucket.Stat(ctx, docFilePath); err == nil { |
| 53 | return docFilePath |
| 54 | } |
| 55 | } |
| 56 | return "" |
| 57 | } |
| 58 | |
| 59 | func getDocFilePathForModuleReadBucket(ctx context.Context, bucket ModuleReadBucket) string { |
| 60 | for _, docFilePath := range orderedDocFilePaths { |
no test coverage detected
searching dependent graphs…