Method
constructor
({ streams, categories, logFile }: CategoriesGeneratorProps)
Source from the content-addressed store, hash-verified
| 18 | logFile: File |
| 19 | |
| 20 | constructor({ streams, categories, logFile }: CategoriesGeneratorProps) { |
| 21 | this.streams = streams.clone() |
| 22 | this.categories = categories |
| 23 | this.storage = new Storage(PUBLIC_DIR) |
| 24 | this.logFile = logFile |
| 25 | } |
| 26 | |
| 27 | async generate() { |
| 28 | const streams = this.streams.sortBy([(stream: Stream) => stream.title]) |
Callers
nothing calls this directly
Tested by
no test coverage detected