MCPcopy Index your code
hub / github.com/dropbox/dropbox-sdk-java / _capwords

Function _capwords

core/generator/java/java.stoneg.py:102–104  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

100
101
102def _capwords(s):
103 words = s.replace('/', '_').split('_')
104 return ''.join(w[:1].upper() + w[1:] for w in words)
105
106
107def _camelcase(s):

Callers 3

_camelcaseFunction · 0.85
capwordsFunction · 0.85

Calls 2

joinMethod · 0.80
splitMethod · 0.45

Tested by

no test coverage detected