Searched refs:resource_listdir (Results 1 – 5 of 5) sorted by relevance
/external/python/setuptools/pkg_resources/tests/ |
D | test_pkg_resources.py | 92 assert sorted(zp.resource_listdir('')) == expected_root 93 assert sorted(zp.resource_listdir('/')) == expected_root 96 assert sorted(zp.resource_listdir('subdir')) == expected_subdir 97 assert sorted(zp.resource_listdir('subdir/')) == expected_subdir 99 assert zp.resource_listdir('nonexistent') == [] 100 assert zp.resource_listdir('nonexistent/') == [] 105 assert sorted(zp2.resource_listdir('')) == expected_subdir 106 assert sorted(zp2.resource_listdir('/')) == expected_subdir 108 assert zp2.resource_listdir('subdir') == [] 109 assert zp2.resource_listdir('subdir/') == []
|
/external/python/setuptools/setuptools/command/ |
D | test.py | 14 from pkg_resources import (resource_listdir, resource_exists, normalize_path, 44 for file in resource_listdir(module.__name__, ''):
|
/external/python/setuptools/pkg_resources/ |
D | __init__.py | 102 resource_listdir = None variable 540 def resource_listdir(resource_name): member in IResourceProvider 1152 def resource_listdir(self, package_or_requirement, resource_name): member in ResourceManager 1154 return get_provider(package_or_requirement).resource_listdir( 1416 def resource_listdir(self, resource_name): member in NullProvider 1885 for subitem in metadata.resource_listdir('/'):
|
/external/libchrome/third_party/jinja2/ |
D | loaders.py | 259 for filename in self.provider.resource_listdir(path):
|
/external/python/setuptools/docs/ |
D | pkg_resources.txt | 1080 * ``resource_listdir(resource_name)`` 1157 ``resource_listdir(package_or_requirement, resource_name)`` 1162 as to the resource type. You cannot use ``resource_listdir()`` on a file 1448 ``resource_listdir(resource_name)`` 1684 * Fix ``resource_listdir('')`` always returning an empty list for zipped eggs. 1817 * ``list_resources`` is now ``resource_listdir`` (and it actually works) 1909 * Fix problems with ``resource_listdir()``, ``resource_isdir()`` and resource 1927 in them. In particular, there are ``resource_listdir()`` and
|