Skip to main content

Module csv_handler

Module csv_handler 

Source

Structs§

CellRange
Represents a cell range like A1:B3
CellRangeHelper
Helper struct for CellRangeProvider implementation
CsvHandler
StreamingCsvReader
Streaming CSV reader for large files - processes rows one at a time
StreamingCsvWriter
Streaming CSV writer for large files

Functions§

sanitize_csv_row
Sanitize an entire row of CSV values
sanitize_csv_value
Sanitize a cell value to prevent CSV delimiter injection. Prefixes dangerous leading characters with a single quote to neutralize them. Also handles embedded newlines by quoting the value.