MCPcopy Index your code
hub / github.com/iptv-org/iptv / constructor

Method constructor

scripts/generators/categoriesGenerator.ts:20–25  ·  view source on GitHub ↗
({ 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

Calls 1

cloneMethod · 0.80

Tested by

no test coverage detected