MCPcopy
hub / github.com/iptv-org/iptv / constructor

Method constructor

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

Source from the content-addressed store, hash-verified

15 logFile: File
16
17 constructor({ streams, logFile }: SourcesGeneratorProps) {
18 this.streams = streams.clone()
19 this.storage = new Storage(PUBLIC_DIR)
20 this.logFile = logFile
21 }
22
23 async generate() {
24 const files: Dictionary<Stream[]> = this.streams.groupBy((stream: Stream) =>

Callers

nothing calls this directly

Calls 1

cloneMethod · 0.80

Tested by

no test coverage detected