*** PRIVATE *** moduleReadBucket
| 269 | // moduleReadBucket |
| 270 | |
| 271 | type moduleReadBucket struct { |
| 272 | getBucket func() (storage.ReadBucket, error) |
| 273 | module Module |
| 274 | // We have to store a deterministic ordering of targetPaths so that Walk |
| 275 | // has the same iteration order every time. We could have a different iteration order, |
| 276 | // as storage.ReadBucket.Walk doesn't guarantee any iteration order, but that seems wonky. |
| 277 | targetPaths []string |
| 278 | targetPathMap map[string]struct{} |
| 279 | targetExcludePathMap map[string]struct{} |
| 280 | protoFileTargetPath string |
| 281 | includePackageFiles bool |
| 282 | |
| 283 | pathToFileInfoCache cache.Cache[string, FileInfo] |
| 284 | pathToFastscanResultCache cache.Cache[string, fastscan.Result] |
| 285 | } |
| 286 | |
| 287 | // module cannot be assumed to be functional yet. |
| 288 | // Do not call any functions on module. |
nothing calls this directly
no outgoing calls
no test coverage detected