MCPcopy
hub / github.com/gitless-vcs/gitless / puts

Function puts

gitless/cli/pprint.py:35–41  ·  view source on GitHub ↗
(s='', newline=True, stream=sys.stdout.write)

Source from the content-addressed store, hash-verified

33
34
35def puts(s='', newline=True, stream=sys.stdout.write):
36 assert not IS_PY2 or (
37 isinstance(s, unicode) or isinstance(s, colored.ColoredString))
38
39 if IS_PY2:
40 s = s.encode(ENCODING, errors='ignore')
41 clint_puts(s, newline=newline, stream=stream)
42
43
44# Stdout

Callers 11

okFunction · 0.85
warnFunction · 0.85
msgFunction · 0.85
expFunction · 0.85
itemFunction · 0.85
blankFunction · 0.85
sepFunction · 0.85
errFunction · 0.85
commitFunction · 0.85
diffFunction · 0.85
_hunkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected