TODO an integration test which tests globbing by creating files in the tmp dir and sending them to a real server
(text string)
| 535 | // TODO an integration test which tests globbing by creating files in the tmp dir and sending them to a real server |
| 536 | |
| 537 | func crlf(text string) string { |
| 538 | return strings.ReplaceAll(text, "\n", "\r\n") |
| 539 | } |
| 540 | |
| 541 | // no-ops the close method on an existing ReadSeeker for cases where it doesn't matter (e.g. in memory byte array) |
| 542 | type nopReadSeekCloser struct { |