GetFilePaths is a convenience function that gets all the target and non-target file paths for the ModuleReadBucket. Sorted.
(ctx context.Context, moduleReadBucket ModuleReadBucket)
| 185 | // |
| 186 | // Sorted. |
| 187 | func GetFilePaths(ctx context.Context, moduleReadBucket ModuleReadBucket) ([]string, error) { |
| 188 | fileInfos, err := GetFileInfos(ctx, moduleReadBucket) |
| 189 | if err != nil { |
| 190 | return nil, err |
| 191 | } |
| 192 | return xslices.Map(fileInfos, func(fileInfo FileInfo) string { return fileInfo.Path() }), nil |
| 193 | } |
| 194 | |
| 195 | // GetTargetFilePaths is a convenience function that gets all the target |
| 196 | // file paths for the ModuleReadBucket. |
nothing calls this directly
no test coverage detected
searching dependent graphs…