(self, path: "StrPath")
| 240 | ) |
| 241 | |
| 242 | def _get_key(self, path: "StrPath") -> Key: |
| 243 | path = os.fspath(path) |
| 244 | parts = self.repo.fs.relparts(path, self.repo.root_dir) |
| 245 | if parts == (os.curdir,): |
| 246 | return () |
| 247 | return parts |
| 248 | |
| 249 | @functools.cached_property |
| 250 | def _subrepos_trie(self): |