MCPcopy Create free account
hub / github.com/OpenAtomFoundation/SmartIDE / isKeyChar

Function isKeyChar

cli/pkg/ssh_config/token.go:49–54  ·  view source on GitHub ↗

I'm not sure that this is correct

(r rune)

Source from the content-addressed store, hash-verified

47
48// I'm not sure that this is correct
49func isKeyChar(r rune) bool {
50 // Keys start with the first character that isn't whitespace or [ and end
51 // with the last non-whitespace character before the equals sign. Keys
52 // cannot contain a # character."
53 return !(r == '\r' || r == '\n' || r == eof || r == '=')
54}

Callers 1

lexKeyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected