GetTargetFilePaths is a convenience function that gets all the target file paths for the ModuleReadBucket. Sorted.
(ctx context.Context, moduleReadBucket ModuleReadBucket)
| 197 | // |
| 198 | // Sorted. |
| 199 | func GetTargetFilePaths(ctx context.Context, moduleReadBucket ModuleReadBucket) ([]string, error) { |
| 200 | fileInfos, err := GetTargetFileInfos(ctx, moduleReadBucket) |
| 201 | if err != nil { |
| 202 | return nil, err |
| 203 | } |
| 204 | return xslices.Map(fileInfos, func(fileInfo FileInfo) string { return fileInfo.Path() }), nil |
| 205 | } |
| 206 | |
| 207 | // GetDocFile gets the singular documentation File for the Module, if it exists. |
| 208 | // |
nothing calls this directly
no test coverage detected
searching dependent graphs…