1 line
3.7 KiB
JSON
1 line
3.7 KiB
JSON
{"repo": "alnah/transcript", "files": {"internal/cli/errors.go": {"6396ee574c0ba88ee2d4835456dfbca1f5e6559d": {"t": 1785745623.2115574, "n": 1187, "h": "436a9875c4f35b5f", "c": "package cli\n\nimport \"errors\"\n\n// CLI-specific sentinel errors.\n// These are validation/usage errors that don't belong to domain packages.\n\n// Environment variable names for API keys.\n// #nosec G101 -- these are env var names, not credentials\nconst (\n\tEnvOpenAIAPIKey = \"OPENAI_API_KEY\"\n\tEnvDeepSeekAPIKey = \"DEEPSEEK_API_KEY\"\n)\n\nvar (\n\t// ErrAPIKeyMissing indicates OPENAI_API_KEY environment variable is not set.\n\tErrAPIKeyMissing = errors.New(\"OPENAI_API_KEY environment variable not set\")\n\n\t// ErrDeepSeekKeyMissing indicates DEEPSEEK_API_KEY environment variable is not set.\n\tErrDeepSeekKeyMissing = errors.New(\"DEEPSEEK_API_KEY environment variable not set\")\n\n\t// ErrInvalidDuration indicates a duration string could not be parsed.\n\tErrInvalidDuration = errors.New(\"invalid duration format\")\n\n\t// ErrUnsupportedFormat indicates an audio file has an unsupported extension.\n\tErrUnsupportedFormat = errors.New(\"unsupported audio format\")\n\n\t// ErrFileNotFound indicates the specified input file does not exist.\n\tErrFileNotFound = errors.New(\"file not found\")\n\n\t// ErrOutputExists indicates the output file already exists.\n\tErrOutputExists = errors.New(\"output file already exists\")\n)\n"}, "365472b18acef40f9e89b24423db368abe718174": {"t": 1785754956.801536, "n": 1187, "h": "436a9875c4f35b5f", "c": "package cli\n\nimport \"errors\"\n\n// CLI-specific sentinel errors.\n// These are validation/usage errors that don't belong to domain packages.\n\n// Environment variable names for API keys.\n// #nosec G101 -- these are env var names, not credentials\nconst (\n\tEnvOpenAIAPIKey = \"OPENAI_API_KEY\"\n\tEnvDeepSeekAPIKey = \"DEEPSEEK_API_KEY\"\n)\n\nvar (\n\t// ErrAPIKeyMissing indicates OPENAI_API_KEY environment variable is not set.\n\tErrAPIKeyMissing = errors.New(\"OPENAI_API_KEY environment variable not set\")\n\n\t// ErrDeepSeekKeyMissing indicates DEEPSEEK_API_KEY environment variable is not set.\n\tErrDeepSeekKeyMissing = errors.New(\"DEEPSEEK_API_KEY environment variable not set\")\n\n\t// ErrInvalidDuration indicates a duration string could not be parsed.\n\tErrInvalidDuration = errors.New(\"invalid duration format\")\n\n\t// ErrUnsupportedFormat indicates an audio file has an unsupported extension.\n\tErrUnsupportedFormat = errors.New(\"unsupported audio format\")\n\n\t// ErrFileNotFound indicates the specified input file does not exist.\n\tErrFileNotFound = errors.New(\"file not found\")\n\n\t// ErrOutputExists indicates the output file already exists.\n\tErrOutputExists = errors.New(\"output file already exists\")\n)\n"}, "365ef307da4bcd24f4f6a304f378ffeedc6e136e": {"t": 1785754958.1761951, "n": 823, "h": "f197bb30111e0211", "c": "package cli\n\nimport \"errors\"\n\n// CLI-specific sentinel errors.\n// These are validation/usage errors that don't belong to domain packages.\n\nvar (\n\t// ErrAPIKeyMissing indicates OPENAI_API_KEY environment variable is not set.\n\tErrAPIKeyMissing = errors.New(\"OPENAI_API_KEY environment variable not set\")\n\n\t// ErrInvalidDuration indicates a duration string could not be parsed.\n\tErrInvalidDuration = errors.New(\"invalid duration format\")\n\n\t// ErrUnsupportedFormat indicates an audio file has an unsupported extension.\n\tErrUnsupportedFormat = errors.New(\"unsupported audio format\")\n\n\t// ErrFileNotFound indicates the specified input file does not exist.\n\tErrFileNotFound = errors.New(\"file not found\")\n\n\t// ErrOutputExists indicates the output file already exists.\n\tErrOutputExists = errors.New(\"output file already exists\")\n)\n"}}}} |