| 32 | } |
| 33 | |
| 34 | export interface ReadBumpFilesOptions { |
| 35 | /** |
| 36 | * Channel names whose `.bumpy/<name>/` subdirectories should also be read. |
| 37 | * Files from those dirs get their `channel` field set; root files don't. |
| 38 | */ |
| 39 | channels?: string[]; |
| 40 | } |
| 41 | |
| 42 | /** Read all bump files from .bumpy/ (and optionally channel subdirs), sorted by git creation order */ |
| 43 | export async function readBumpFiles(rootDir: string, opts: ReadBumpFilesOptions = {}): Promise<ReadBumpFilesResult> { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…