Lines Matching refs:path
17 self.path = pathlib.Path(loader.path).parent
21 Return the file system path to prevent
22 `resources.path()` from creating a temporary
25 return str(self.path.joinpath(resource))
28 return self.path
43 def is_resource(self, path):
46 target = self.files().joinpath(path)
64 message = 'MultiplexedPath must contain at least one path'
66 if not all(path.is_dir() for path in self._paths):
70 files = (file for path in self._paths for file in path.iterdir())
90 # if it does not exist, construct it with the first path
103 paths = ', '.join(f"'{path}'" for path in self._paths)
110 raise ValueError('Invalid path')
111 self.path = MultiplexedPath(*list(namespace_path))
115 Return the file system path to prevent
116 `resources.path()` from creating a temporary
119 return str(self.path.joinpath(resource))
122 return self.path