Searched refs:path_type (Results 1 – 3 of 3) sorted by relevance
35 def __init__(self, path, path_type='dir'): argument42 assert path_type in ('file', 'dir'), 'Invalid path_type: %s' % path_type43 self._path_type = path_type
1033 path_type = type(path)1035 path_repr = path_type.__fspath__(path)1037 if hasattr(path_type, '__fspath__'):1041 "not " + path_type.__name__)1046 "not {}".format(path_type.__name__,
412 enum url_type path_type = url_type(src); in pxe_chdir() local414 if (path_type == URL_SUFFIX) in pxe_chdir()