MCPcopy
hub / github.com/jesseduffield/lazygit / writeString

Function writeString

pkg/cheatsheet/generate.go:93–98  ·  view source on GitHub ↗
(file *os.File, str string)

Source from the content-addressed store, hash-verified

91}
92
93func writeString(file *os.File, str string) {
94 _, err := file.WriteString(str)
95 if err != nil {
96 log.Fatal(err)
97 }
98}
99
100func localisedTitle(tr *i18n.TranslationSet, str string) string {
101 contextTitleMap := map[string]string{

Callers 1

generateAtDirFunction · 0.85

Calls 1

WriteStringMethod · 0.80

Tested by

no test coverage detected