MCPcopy Index your code
hub / github.com/cameri/nostream / getCompressionLabel

Function getCompressionLabel

src/scripts/export-events.ts:116–125  ·  view source on GitHub ↗
(format: CompressionFormat)

Source from the content-addressed store, hash-verified

114}
115
116const getCompressionLabel = (format: CompressionFormat): string => {
117 switch (format) {
118 case CompressionFormat.GZIP:
119 return 'gzip'
120 case CompressionFormat.XZ:
121 return 'xz'
122 default:
123 return String(format)
124 }
125}
126
127export const parseCliArgs = (args: string[]): ExportCliOptions => {
128 let compress = false

Callers 1

runExportEventsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected