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

Method constructor

scripts/generators/indexGenerator.ts:17–21  ·  view source on GitHub ↗
({ streams, logFile }: IndexGeneratorProps)

Source from the content-addressed store, hash-verified

15 logFile: File
16
17 constructor({ streams, logFile }: IndexGeneratorProps) {
18 this.streams = streams.clone()
19 this.storage = new Storage(PUBLIC_DIR)
20 this.logFile = logFile
21 }
22
23 async generate(): Promise<void> {
24 const sfwStreams = this.streams

Callers

nothing calls this directly

Calls 1

cloneMethod · 0.80

Tested by

no test coverage detected