Skip to main content Module paste Copy item path Source PasteConfig Configuration for the paste command. parse_delimiters Parse delimiter string with escape sequences.
Supports: \n (newline), \t (tab), \ (backslash), \0 (NUL), empty string (no delimiter). paste Main paste entry point. Writes directly to the provided writer. paste_parallel_to_vec Paste files in normal (parallel) mode and return the output buffer.
For each line index, concatenate corresponding lines from all files with delimiters. paste_serial_to_vec Paste files in serial mode and return the output buffer.
For each file, join all lines with the delimiter list (cycling). paste_to_vec Build the paste output as a Vec, then return it for the caller to write.
This allows the binary to use raw write() for maximum throughput.