MCPcopy Create free account
hub / github.com/Deleplace/programming-idioms / fixNewlines

Function fixNewlines

web/appengine/adminExportImport.go:90–100  ·  view source on GitHub ↗

fixNewlines replaces "\r\n" with "\n", because expected newlines are 1 char, and having 2 chars leads to "API error 1 (datastore_v3: BAD_REQUEST): Property Implementations.CodeBlock is too long. Maximum length is 500.

(idiom *Idiom)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

importFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected