(filePath: string)
| 53 | const DEFAULT_MAX_EMBED_FILE_SIZE = 50 * 1024; |
| 54 | |
| 55 | function isTextIndexCandidate(filePath: string): boolean { |
| 56 | return TEXT_INDEX_EXTENSIONS.has(extname(filePath).toLowerCase()); |
| 57 | } |
| 58 | |
| 59 | function toIntegerOr(value: string | undefined, fallback: number): number { |
| 60 | if (!value) return fallback; |
no outgoing calls
no test coverage detected