MCPcopy Create free account
hub / github.com/OctopusDeploy/cli / crlf

Function crlf

pkg/cmd/package/upload/upload_test.go:537–539  ·  view source on GitHub ↗

TODO an integration test which tests globbing by creating files in the tmp dir and sending them to a real server

(text string)

Source from the content-addressed store, hash-verified

535// TODO an integration test which tests globbing by creating files in the tmp dir and sending them to a real server
536
537func 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)
542type nopReadSeekCloser struct {

Callers 1

TestPackageUploadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected