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

Function fs_encode

module/plugins/internal/misc.py:554–558  ·  view source on GitHub ↗
(string)

Source from the content-addressed store, hash-verified

552 it will encode the string properly
553 """
554 def fs_encode(string):
555 try:
556 string = string.encode('utf-8')
557 finally:
558 return string
559
560else:
561 fs_encode = decode

Callers 15

check_downloadMethod · 0.70
_downloadMethod · 0.70
downloadMethod · 0.70
scan_downloadMethod · 0.70
fsbsizeFunction · 0.70
existsFunction · 0.70
removeFunction · 0.70
fsjoinFunction · 0.70
isexecutableFunction · 0.70
compute_checksumFunction · 0.70
targetMethod · 0.70
destMethod · 0.70

Calls 1

encodeMethod · 0.45

Tested by

no test coverage detected