MCPcopy Create free account
hub / github.com/algorithmiaio/algorithmia-python / pathJoin

Function pathJoin

Algorithmia/util.py:32–35  ·  view source on GitHub ↗
(parent, base)

Source from the content-addressed store, hash-verified

30
31
32def pathJoin(parent, base):
33 if parent.endswith('/'):
34 return parent + base
35 return parent + '/' + base
36
37
38def md5_for_file(fname):

Callers 7

fileMethod · 0.90
dirMethod · 0.90
_iterate_directoriesMethod · 0.90
_iterate_filesMethod · 0.90
fileMethod · 0.90
fileMethod · 0.90
test_pathJoinMethod · 0.90

Calls

no outgoing calls

Tested by 1

test_pathJoinMethod · 0.72