Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/kivy/python-for-android
/ ensure_dir
Function
ensure_dir
pythonforandroid/util.py:127–131 ·
view source on GitHub ↗
(dn)
Source
from the content-addressed store, hash-verified
125
126
127
def
ensure_dir(dn):
128
if
exists(dn):
129
return
130
LOGGER.debug(
"Create directory {0}"
.format(dn))
131
makedirs(dn)
132
133
134
def
move(source, destination):
Callers
15
prepare_dist_dir
Method · 0.90
_assemble_distribution_for_arch
Method · 0.90
distribute_libs
Method · 0.90
distribute_javaclasses
Method · 0.90
_unpack_aar
Method · 0.90
prepare_build_dir
Method · 0.90
libs_dir
Method · 0.90
javaclass_dir
Method · 0.90
aars_dir
Method · 0.90
python_installs_dir
Method · 0.90
ensure_dirs
Method · 0.90
get_libs_dir
Method · 0.90
Calls
1
format
Method · 0.80
Tested by
1
setUp
Method · 0.72