MCPcopy Index your code
hub / github.com/pyload/pyload / fs_encode

Function fs_encode

module/utils.py:53–57  ·  view source on GitHub ↗
(string)

Source from the content-addressed store, hash-verified

51
52if sys.getfilesystemencoding().startswith('ANSI'):
53 def fs_encode(string):
54 try:
55 string = string.encode('utf-8')
56 finally:
57 return string
58
59 fs_decode = decode #decode utf8
60

Callers 12

downloadMethod · 0.90
saveMethod · 0.90
loadMethod · 0.90
removeMethod · 0.90
getHandleMethod · 0.90
_copyChunksMethod · 0.90
_downloadMethod · 0.90
downloadMethod · 0.90
checkDownloadMethod · 0.90
downloadsFunction · 0.90
get_downloadFunction · 0.90
save_joinFunction · 0.70

Calls 1

encodeMethod · 0.45

Tested by

no test coverage detected